• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

assign a "cold" data link from excel

  • Thread starter Thread starter Rand89
  • Start date Start date

Rand89

Guest
Hello everyone
I congratulate the forum, I read various guides and found many solutions to my problems.
a solution to a last problem I have, however, I couldn't find it among the various posts...

I press that with the vba of excel I started to work for me just fine.. with the vba commands of autocad instead little nothing. .
the problem is the object of the discussion, i.e. how to set the variables of a data connection (cold command) starting from data taken by excel, giving commands in vba.

If I haven't been clear enough, I'll explain better. .
in "data link management", selecting a created link, the properties are displayed, i.e. link name, file name (linked) and link details (i.e. the linked cells).My problem is: how do I set in vba a macro that checks to an already existing link a new connected file name and new details (i.e. the new cells), starting from data in an excel sheet?

thank you in advance to those who will help me!
 
update. .
I found the command that is: setdatalink
The problem is that vba doesn't recognize me. You know what? ?
 
I hope I'm in the right place... I would like to be present in other discussions.
My question is: I created a data link of a table from a 2010 mechanical autocad file to excel 2010; if I change the content of the file in excel ,riesco to update the link in autocad, while vice versa not. can you change the contents of the table in autocad and update it in excel? the size of the rows and columns I would like to leave them unchanged, as in autocad I need a format while in excel another, while the content equals.
I thank you who knows how to answer
Hi.
 
ok, read what described, created the file in excel, created the table in autocad, connected the two, I can not automatically update the file in excel. work in autocad, then with the command <scrivi collegamento="" dati=""> I select the table in autocad, in the command line I notice the update, but in excel nothing changes. Not that maybe there's a command in excel calling the update?</scrivi>
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top