Quickly Link Excel Tables to AutoCAD

by Donnie Gladfelter on August 15, 2007

in AutoCAD 2008

Since being posted back in April my post titled Linking Excel and AutoCAD with Data Links has been one of the most visited pages here on The CAD Geek Blog. In that post I go through what I will call the manual way of linking an Excel table to AutoCAD. Thus unless you are a part of the Slowskey family, you’ll likely prefer this quicker more efficient way of making the link.

  1. Start off in Excel by simply selecting the cells you want to link to AutoCAD. Right-click and select “Copy“. This will place the Excel table on your clipboard so we can paste it into AutoCAD.
  2. Open the AutoCAD drawing you wish to insert your Excel table into, and go to the “Edit” menu, selecting “Paste Special”.
  3. From the resulting dialog box, Select the “Paste Link” radio button, and then select “AutoCAD Entities” under the “As” heading.

Select an insertion point for your table, and just like that you have a table which is linked to AutoCAD. If you have “DYN” turned on (available from status bar) you will see some helpful information when you hover over the table.

First notice the two icons in the Northeast quadrant of your cursor. The padlock icon to the left indicates that the table is locked. What that means is changes to the Excel document will be updated in AutoCAD as well, however you cannot make a change in AutoCAD and it update Excel. The second icon is supposed to be two chain links. That is letting you know the table contents are being red from an external Excel table.

Finally if you have dynamic input (DYN) turned on the southeast quadrant of your cursor will show some information about the data link associated with the table. AutoCAD automatically generates a Data Link when you use the Paste Special method, hence the Excel Data Link 1 name. Other information like the path to the linked Excel table and what cells are being displayed is among the data previewed.

While AutoCAD does have the ability to write back to Excel, I have found the methodology in doing such to be very cumbersome. Instead, I have found it easier to modify the Excel table by opening the Excel document itself. This is relatively easy to do within AutoCAD by:

  1. Select a cell within your AutoCAD Table
  2. Under “Data Links” select “Open Data File“. That will load Excel, and take you to the linked Excel document.

In my humble opinion that method is a lot easier than unlocking the cell(s) you want to modify, changing the data, and then writing back to the data source. Finally if you’re in a drawing, and the Excel document gets modified. AutoCAD will not update the table in real-time. You could close and re-open the drawing, but a little easier method is to select the table > right-click > “Update Table Data Links”.

  • http://www.thecadgeek.com Donnie Gladfelter

    @Mai – Unfourtionately I do not currently have a post on the topic, but the command you want to take a look at is EATTEXT. It will scan your DWG per some basic instructions, and output in a number of ways including as an AutoCAD table.

  • http://thecadgeek.com/ Donnie Gladfelter

    @Mai – Unfourtionately I do not currently have a post on the topic, but the command you want to take a look at is EATTEXT. It will scan your DWG per some basic instructions, and output in a number of ways including as an AutoCAD table.

  • Mai Othman

    Hye, name is Mai. Since I’ve read most of the question and answer here, I know you can help me. I would like to know how to do a quantity take off using AUTOCAD, meaning after I’ve drawn the drawing, I would like the system to calculate for me the take off…..can you teach me how?….TQ

    • http://sites.google.com/site/autocadforquantitysurveyor/Home Nasri Ahmad

      Mai,
      Use cad2file, autolisp to extract the items you want

  • Mai Othman

    Hye, name is Mai. Since I’ve read most of the question and answer here, I know you can help me. I would like to know how to do a quantity take off using AUTOCAD, meaning after I’ve drawn the drawing, I would like the system to calculate for me the take off…..can you teach me how?….TQ

    • http://sites.google.com/site/autocadforquantitysurveyor/Home Nasri Ahmad

      Mai,
      Use cad2file, autolisp to extract the items you want

  • http://www.thecadgeek.com Donnie Gladfelter

    Dena – The rows/columns you select for the copy/paste operation will the the ones linked. Thus if you omit the rows/columns you don’t need, you won’t see them.

  • http://thecadgeek.com/ Donnie Gladfelter

    Dena – The rows/columns you select for the copy/paste operation will the the ones linked. Thus if you omit the rows/columns you don’t need, you won’t see them.

  • Dena

    Is there a way to control which column/rows display in the cad file. I have blank rows that I don’t need and colums that have been omitted. I have tried setting the print area in excel to display the exact area I want to show up in cad but no luck yet.

  • Dena

    Is there a way to control which column/rows display in the cad file. I have blank rows that I don’t need and colums that have been omitted. I have tried setting the print area in excel to display the exact area I want to show up in cad but no luck yet.

  • http://www.thecadgeek.com Donnie Gladfelter

    @ Freddy – I have found it easier and less buggy to just do your updates in Excel. It’s hard to say what exactly has gone kaput in your DWG.

    @ Kerwin – Sounds to me like an issue with the pen table you’re using. There shouldn’t be any difference between a hard-copy and a DWF copy.

  • http://thecadgeek.com/ Donnie Gladfelter

    @ Freddy – I have found it easier and less buggy to just do your updates in Excel. It’s hard to say what exactly has gone kaput in your DWG.

    @ Kerwin – Sounds to me like an issue with the pen table you’re using. There shouldn’t be any difference between a hard-copy and a DWF copy.

Previous post:

Next post: