Jump to content

How can I edit a Table Data Link Value via VBA or LISP?


PJF

Recommended Posts

:cry:

 

I'll spare the long story behind my reasons for wanting to do this without dialogue boxes.

 

 

 

Q: Is it possible edit a tables Data Link value (to an external XLS file) via VBA?

 

If so, how..?

 

If not, is it possible with LISP or a sequence of command line entries?

 

I've tried searching the VBA Reference, trial and error, the autodesk discussion forum, ACAD help file and googling with no luck.

Link to comment
Share on other sites

please explain in more detail or word diffrently.

what is ment by "edit a tables Data Link value (to an external XLS file)" edit?

 

 

See attached screen shot.

 

The excelfile.xls is linked to a table that I made in ACAD. You can update the contents of the ACAD table via command prompt no problem but I can't seem to figure out how to edit the "c:\excelfile.xls" (string) link without using a GUI.

datalink.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...