Results 1 to 7 of 7

Thread: excel data link

  1. #1
    Member
    Join Date
    2010-10
    Posts
    3
    Login to Give a bone
    0

    Default excel data link

    Hi everyone,



    I have a drawing with 40 excel data link, all linked to one spreadsheet excel file. It's there anyway to change the excel file in all the data links at the same time without having to go to Tools -- Data Links -- Data Link Manager -- right click edit on each one to change the excel file? Any lisp routine or solution will be greatly appreciated.



    Thanks!
    ....

  2. #2
    Forum Username Moderator
    Join Date
    2003-08
    Posts
    76
    Login to Give a bone
    0

    Default Re: excel data link

    Quote Originally Posted by miguelcid View Post
    Hi everyone,
    I have a drawing with 40 excel data link, all linked to one spreadsheet excel file. It's there anyway to change the excel file in all the data links at the same time without having to go to Tools -- Data Links -- Data Link Manager -- right click edit on each one to change the excel file? Any lisp routine or solution will be greatly appreciated.

    Thanks!
    ....
    A company called Dotsoft has a couple of programs which work great with Excel - ToolPac and XL2CAD - find them at http://dotsoft.com

    I've been using them for years to calculate among other things, sanitary invert elevations and gas pipe sizing using node points on single line layouts - prior to spending the time detailing in 3D. ToolPac combined with AutoCAD and Excel allows me to determine 3D conflicts other building trades such as structural and mechanical systems.

    I only use a fraction of the many tools included but the few I use the most often are worth the cost of the package.

  3. #3
    Member
    Join Date
    2010-10
    Posts
    3
    Login to Give a bone
    0

    Default Re: excel data link

    Thanks, but that's not exactly what I’m looking for. When I go to:

    -Tools
    - Data Links
    - Data Link Manager

    Under --Excel Links—I have already created 40 different excel links with different content on them and from the same excel file. So each one of the 40 excel link takes a different group of cells of the same excel file. When I want to change the excel file that the 40 excel links are linked to, I have to go to:

    -Tools
    - Data Links
    - Data Link Manager
    -Double click on ONE excel link
    -under Choose and Excel File, change the excel file to the New created excel file.
    -press ok. And proceed to do the same steps with all 39 left excel links.

    What I want to do is change the excel file in all the data links at the same time, it’s almost like just opening the excel file from a CAD excel data link, doing a SAVE AS, changing the name and, as a miracle, having all Cad excel links adapt to the new name. (When I do a SAVE AS all 40 data links are still linked to the original, not to the new saved excel file).


    Please! Help!

    Thanks!

  4. #4
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,105
    Login to Give a bone
    0

    Default Re: excel data link

    I would recommend you not rename your current excel files. Rename your older version excel files.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  5. #5
    Member
    Join Date
    2009-06
    Location
    Florida
    Posts
    27
    Login to Give a bone
    0

    Default Re: excel data link

    You could use the X-Ref panel. It won't allow you to change them all at once but it will allow you to easily change table names, excel file locations & excel file names in one window. Once you have made all the changes use the Datalinkupdate to update all the tables at once.

    Type Xref in the command line to bring up the X-ref panel.

  6. #6
    Active Member
    Join Date
    2008-05
    Location
    Boston
    Posts
    65
    Login to Give a bone
    0

    Default Re: excel data link

    This is why we avoid renaming the Excel file once it's linked.
    Before making changes to the current excel file, we do a "save-as" of the current file to an archive folder. Changes are then made to the current file, and its name is left unchanged.

  7. #7
    Member
    Join Date
    2010-10
    Posts
    3
    Login to Give a bone
    0

    Default Re: excel data link

    Hi everyone,

    Thanks for trying to help.

    I took care of the problem by selecting "Relative Path" under "Path Type" in the Data link menu and just moving the drawing with the Excel file to separate folder. That way:

    Good
    -Templates can be all linked to one Excel file, and when making a New drawing using the templates I just have to copy the Excel file in the folder of the New drawing.

    Bad
    - Same Excel file name in all folders which makes things a little difficult to target one.

    But as long as they are in the same folder or subfolder as the New drawing, everything is good!

    I know maybe some of you did know about "Relative Path", it's hard to explain the whole problem on the Web.

    Thank you!!

Similar Threads

  1. New Excel Data Link
    By Wish List System in forum Revit MEP - Wish List
    Replies: 2
    Last Post: 2014-10-22, 09:48 PM
  2. 2014: Autocad table from Excel Data Link
    By sovby254640 in forum AutoCAD General
    Replies: 4
    Last Post: 2014-08-07, 11:19 PM
  3. Excel Link for Data Manipulation
    By Wish List System in forum Revit Architecture - Wish List
    Replies: 0
    Last Post: 2012-07-19, 12:57 AM
  4. 2012: anyone tried Data Link to an Excel file in 2012?
    By elmoleaf in forum AutoCAD General
    Replies: 9
    Last Post: 2012-02-27, 05:55 PM
  5. inserting excel via data link into table
    By rjairath in forum AutoCAD General
    Replies: 2
    Last Post: 2007-12-19, 05:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •