Linking Excel Spreadsheets to AutoCAD Tables (AutoCAD 2008+)

kick it on CadKicks.com

You may have heard about how you can link Microsoft spreadsheets to a table in AutoCAD 2008 and have them stay in sync with each other. It is easy to do but it’s not as straight-forward as you might imagine. Here is how to do it in a few easy steps.

STEP 1: Create a data link.
On the command line type DATALINK. In the Data Link Manager dialog box double-click on “Create a new Data Link” and give the link a name.

Data Link Manager

Browse for an file and modify settings in the New Data Link dialog box:

New Excel Data Link

As you can see, you can link to a sheet or a range in . Hit Ok when finished.

If you want to modify your link, simply double-click on the name of your link and the Modify Link dialog box will appear.

(click to view larger picture)
Modify Excel Link

I recommend un-checking “Use formatting” so that my table style matches the CAD standard instead of taking formatting from .

STEP 2: Create a table using a data link.
On the command line type TABLE. Under insert options select the radio button called “From a data link”.

(click to view larger picture)
Table Data Link

Launch the Data Link Manager dialog box:

Launch Data Link Manager

Select a data link and hit OK:

Select a Data Link

Hit OK in the table dialog box and click to insert the upper-left corner of the table into your drawing.

STEP 3: Modify the table.
Select the table, right-click and select Table Style –> [your standard table style]

Table Style

If you don’t have standard table styles already created, I recommend doing so and saving them to your drawing template.

If you want a row of cells to be the header row, you can hold down shift, select the first and last cell in the row, then right-click and select Cell Style –> Header.

Cell Styles

The file will now stay in sync with the AutoCAD table. If you make changes to the file, right-click on the table and select “Update Table ”. Anything you change in the file will be changed in the AutoCAD table as well.

Share and Enjoy:
  • Twitter
  • Facebook
  • LinkedIn
  • del.icio.us
  • Google Bookmarks
  • Live

12 Comments so far

  1. Sign up at Gravatar.com to add your picture. Mike Cooley on July 10th, 2008

    In the command line I typed datalink and hit enter, it says Unknown Command, press F1 for help.

    Mike

  2. Sign up at Gravatar.com to add your picture. Josh Jones on July 10th, 2008

    Ah, I should be more specific. You need to be using AutoCAD 2008+.

  3. [...] I talked about Linking Excel Spreadsheets to AutoCAD Tables but this time I am going to show you an even simpler way to get Excel data into an AutoCAD [...]

  4. Sign up at Gravatar.com to add your picture. Lazy Drafter » Table Wrapping on August 17th, 2008

    [...] is especially useful when your table is linked from an Excel spreadsheet. If the table gets too long vertically, you can simply make the table wrap by dragging that [...]

  5. Sign up at Gravatar.com to add your picture. J D on November 25th, 2008

    Can you use Excel spreadsheet data links for modifying the dimensions on parts in Solidworks, Pro E, and/or NX 5 Unigraphics? Thanks and appreciated.

  6. Sign up at Gravatar.com to add your picture. craig on December 10th, 2008

    When I select the table, to modify it, it highlights in large green block, hiding all the data. My columns are not evenly spaced and I need to manually modify them. What can I do to modify this table. I think that there may be an active lock on it.

  7. Sign up at Gravatar.com to add your picture. Josh Jones on December 15th, 2008

    J D,

    I have no experience using any of the software you mentioned. Sorry I can’t help you there.

    Craig,

    Is your table on a locked layer?

  8. Sign up at Gravatar.com to add your picture. Janice on March 6th, 2009

    I use Excel for creating my material lists and I have a construction unit drawings created in AutoCAD 2008.  I am able to highlite & copy the cells on my material list; open my AutoCAD drawing, Edit, Paste Special, Paste Link, make sure that Microsoft Office Excel Worksheet is selected and click on OK.  It drops the file into your CAD drawing.  If it is too big or too small, then scale it up/down using Scale Reference.  Make sure that the OLEQUALITY is set to 0, then plot.

  9. Sign up at Gravatar.com to add your picture. Pandian on March 24th, 2009

    FriendsIs it possible to link autocad drawing dimensions with excel sheet.I dont want the drawing to be parametric.I just want my drawing dimensions to get changed whenever I change some values in my excel sheet using some formulas.

  10. Sign up at Gravatar.com to add your picture. Josh Jones on March 24th, 2009

    I don’t know of any way to do this Pandian.

  11. Sign up at Gravatar.com to add your picture. matt on March 24th, 2009

    i tried it too.even pull down menu not showing any related function.can u please highlight what i should do to get these function?

  12. Sign up at Gravatar.com to add your picture. Will on June 17th, 2009

    Thanks for the Excel linking info. I was having trouble with this function but now it is slick. One thing I would like to be able to do is "collect" data points from the ACAD drawing into the spreadsheet ie. I would like to be able to click on points along a curve drawn in ACAD and have the coordinates of the points entered into the spreadsheet. Does anyone know if this is possible? Thanks very much.

Leave a reply