Quickly Link Excel Tables to AutoCAD

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”.

Donnie Gladfelter
Donnie Gladfelter

Donnie is author of the book and Autodesk Official Press, AutoCAD and AutoCAD LT: No Experience Required, a columnist for AUGIWorld Magazine, Autodesk University speaker, and former member of the AUGI Board of Directors.

88 Comments

  1. Hi, I would like to link values from a table imported from Excel to the area of pline. Is this possible?

  2. I was updating a excel file adding more cells and data, when I updated the link in AutoCAD the font of the new cell were almost twice the size. Is there a way I can control that?

  3. Why does the table in autocad revert back to the original size it was brought into from excel when  you edit a cell in excel?

  4. I formated my Excelt document to look how I wanted and when I bring it in to autocad all the rows and columns are different than in my excel, also I am not able to white out certain cells.  Any idea why this would be happening?

  5. CAD Geek,

    I like your explantion of how to insert excel tables into AutoCAD 2008.
    My questions is this. Why is it that the romans font in excel look and prints horribly.
    I personally don’t mind using arial because that prints just fine, but the old timers like romans.

    I have experimented with different fonts and size in both acad 08 and 10 and same effect. Romans print
    out very ugly or have of the leter disapears.

    Will apreciated your help.

  6. I want to link Autocad  to an Excel file to creat a interior of materials.
    For every cell I put into a click to Autocad I want it to add the cell information to the Excel file. Can this be done?please help me

  7. I want to link Autocad cells to an Excel file to creat a Build of materials.
    For every cell I put into a Autocad I want it to add the cell information to the Excel file. Can this be done?

  8. Question: When using ACAD 2007, I’m having problems with “paste special” as well as linking in my copied excel spreadsheet as an “OLE Obj”. Neither seem to retain the entire copied spreadsheet in ACAD. Any advice? Thanks :)

  9. Well Donnie,

    I don’t make comments like this unless I’m truly grateful for a to the point solution. I’m 71 years old but still learning. Your three point method of getting Excel data into Acad has just saved me hours of work and improved the quality of the Acad presentation no end. I’ll use this method for the forseeable future.

    All the very best to you and people like you.

    Steve Reynolds.

  10. Respectable,

    first of all, sorry for my bad english, but it’s not my native language, I’m live and work in Croatia! So, because of lack of the special literature here in Croatia, and my trying to find out with this problem, I’m decided to write to you.
    So, the problem is how to create some curves from datas in excel. Let me be more precisely, it’s problem how to create izocromatic curves of tension in material, which are in its native hiperbolic curves, but it’s less important. For me is important, how to make close polilynes in auto cad from datas in excel, from tables in excel, which is divided on x coordinate and y coordinate.

    Thanks!

    Igor v.

  11. after lingkling data from excel files, i am fail to find the changes in colors with numerical digits.
    is it possible if color changes in excel files for a particular cell, will it also be reflected in auto link file?

  12. I think posts like this are helpful and really helping users, still now people are finding this and taking an interest, well done for taking the time to educate others

  13. Civil 3D es difirente, en autocad en vez Paste Link es Paste y buscas Autocad Entites, buen aporte

  14. Excellent Post ! But if we want to erase all the data_link for one reason…. How do we do this ?! I mean, I can erase the block ! But, if I close and reopen my draft, he still ask me about the data_link

  15. I know these are old post but i find it most helpfull. I relize that you said that it is cumbersome to input data into cad and have it come up in excel but my boss want me to be able to do that. maby you already explained this because i have not read every thing but this would be very helpfull

  16. It's hard to say what's going on without being able to actually see the issue. Nonetheless, I am currently running Windows 7 64 bit with AutoCAD 2011 64 bit, and Office 2007 32 bit, and haven't had any issues with data links. It's a slightly different take on this post, but here's a post I did about a month ago using that 32 bit/64 bit setup (https://thecadgeek.mystagingwebsite.com/blog/2010/04/28/autoc…). With regard to a data link created on a 32 bit machine; I personally haven't run into any issues as this feature has worked the same for me in both 32 bit and 64 bit environments.

  17. This does not work in Acad 2011. I believe it is because I am running 64 bit and excel is 32 bit. Really, really crappy. I wonder if someone else attaches a datalink in a 32 bit envirnonment and I open it, if it will work?

  18. Is there any way to change which data link a table uses? I have a drawing with multiple schedules that are identical in size, format, etc, and only vary in the data. In Excel they are set up as multiple sheet tabs in the same file (Sheets A, B, and C). I have made multiple Data Links, one for each sheet (linkA, linkB, linkC) What I want to be able to do in AutoCAD is to copy my table to make several instances of it, then change which Data Link each one is attached to. I looked at the “Edit Data Link..” button in the Table toolbar, but that changes which Excel Sheet a specific link references, not which link a table is associated with. I can’t make individual tables and pair up the Data Links correctly from the start because on the AutoCAD side my formatting is too complex – I tried making a template but it doesn’t pick up all of the formatting. Any ideas?

  19. Is there any way to change which data link a table uses? I have a drawing with multiple schedules that are identical in size, format, etc, and only vary in the data. In Excel they are set up as multiple sheet tabs in the same file (Sheets A, B, and C). I have made multiple Data Links, one for each sheet (linkA, linkB, linkC) What I want to be able to do in AutoCAD is to copy my table to make several instances of it, then change which Data Link each one is attached to. I looked at the “Edit Data Link..” button in the Table toolbar, but that changes which Excel Sheet a specific link references, not which link a table is associated with. I can’t make individual tables and pair up the Data Links correctly from the start because on the AutoCAD side my formatting is too complex – I tried making a template but it doesn’t pick up all of the formatting. Any ideas?

  20. Hi Donny,
    I’ve just recently started to use the OLE link with excel and autocad. i believe we are using autocad 2004, and excel 2003. My question is this, the spreadsheet links with my drawing just fine, but when it plots every cell has a border. I only want the cells that I’ve placed the borders around in my spreadsheet to plot. Any advice???
    ~Kim

    • I’m having the same problem as Kim! The page setup in Excel has the gridlines box unchecked.

    • Kim & Jenny – While OLE objects will work with AutoCAD 2004, the process outlined in this post will only work with AutoCAD 2008 or above. As for taming your OLE objects in earlier releases, I’d try a couple things and see what happens. First, try applying a White fill to the cells in Excel. If that doesn’t work, try applying a white border (again from inside Excel). Unfortunately with OLE’s there’s not much you can do on the AutoCAD side, most of their display configuration comes from whatever application the OLE is linked from.

  21. Hi Donny,
    I’ve just recently started to use the OLE link with excel and autocad. i believe we are using autocad 2004, and excel 2003. My question is this, the spreadsheet links with my drawing just fine, but when it plots every cell has a border. I only want the cells that I’ve placed the borders around in my spreadsheet to plot. Any advice???
    ~Kim

    • I’m having the same problem as Kim! The page setup in Excel has the gridlines box unchecked.

    • Kim & Jenny – While OLE objects will work with AutoCAD 2004, the process outlined in this post will only work with AutoCAD 2008 or above. As for taming your OLE objects in earlier releases, I’d try a couple things and see what happens. First, try applying a White fill to the cells in Excel. If that doesn’t work, try applying a white border (again from inside Excel). Unfortunately with OLE’s there’s not much you can do on the AutoCAD side, most of their display configuration comes from whatever application the OLE is linked from.

  22. I just tried the steps to link an Excel spreadsheet to AutoCAD and I don’t have the option to add the data as a link with AutoCAD entities when using the “Paste Link” radio button. Any thoughts?

  23. I just tried the steps to link an Excel spreadsheet to AutoCAD and I don’t have the option to add the data as a link with AutoCAD entities when using the “Paste Link” radio button. Any thoughts?

  24. hi, after successfully following your instructions, my question would be:
    is it possible to change the text height / text width of the table in autocad?

    thank you

  25. hi, after successfully following your instructions, my question would be:
    is it possible to change the text height / text width of the table in autocad?

    thank you

  26. Hey Donnie my name is Brian,

    The Autocad / Excel is working pretty well for me, but I found out that if I cannot update the columns or rows.
    If I linked Autocad and excel with only 2 columns and 69 rows and then insert more rows and columns into my excel spread after I have linked it to Cad, the Cad file will not update the columns or rows, nor the content inside. I know I can start over and relink, but it will take a lot of time to set it up in the proper configuration. Is there away to update the columns and rows after linking.

  27. Hey Donnie my name is Brian,

    The Autocad / Excel is working pretty well for me, but I found out that if I cannot update the columns or rows.
    If I linked Autocad and excel with only 2 columns and 69 rows and then insert more rows and columns into my excel spread after I have linked it to Cad, the Cad file will not update the columns or rows, nor the content inside. I know I can start over and relink, but it will take a lot of time to set it up in the proper configuration. Is there away to update the columns and rows after linking.

  28. @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.

  29. @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.

  30. 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

  31. 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

  32. 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.

  33. 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.

  34. @ 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.

  35. @ 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.

  36. Nice article.
    You don’t tell how to update the data link from AutoCAD. I have unlocked all the cells in AutoCAD and tried to use the DATALINKUPDATE command. Selected Write data link and chosen the AutoCAD table but I get only this message:

    1 data link(s) do not allow their data to be written out.

    Do you know why?

    \Freddy

  37. Nice article.
    You don’t tell how to update the data link from AutoCAD. I have unlocked all the cells in AutoCAD and tried to use the DATALINKUPDATE command. Selected Write data link and chosen the AutoCAD table but I get only this message:

    1 data link(s) do not allow their data to be written out.

    Do you know why?

    Freddy

  38. While I find it very handy that imported Excel files will automatically update when pasted properly into AutoCAD 2008, one thing that I have noticed is that all of the Excel Data Links are listed permanently in the drawing file as External References. Even when I have deleted an Excel link from a drawing that is no longer required, there is still a record of it shown in the External References list (Status will read “Not Found”). Is there any way to delete unused Excel Data link records from the External References Window?

  39. While I find it very handy that imported Excel files will automatically update when pasted properly into AutoCAD 2008, one thing that I have noticed is that all of the Excel Data Links are listed permanently in the drawing file as External References. Even when I have deleted an Excel link from a drawing that is no longer required, there is still a record of it shown in the External References list (Status will read “Not Found”). Is there any way to delete unused Excel Data link records from the External References Window?

  40. I’ve been using the Data Links manager to input excel tables- they operate very similarly to the PASTESPEC method. However, I am running into a formatting issue. My row height is locked to some arbitrary value and nothing I change in excel modifies it, but the column width changes according to the excel file. Any ideas where I can find this setting and modify the row height value without having to manually change the height of all the table rows?

  41. I’ve been using the Data Links manager to input excel tables- they operate very similarly to the PASTESPEC method. However, I am running into a formatting issue. My row height is locked to some arbitrary value and nothing I change in excel modifies it, but the column width changes according to the excel file. Any ideas where I can find this setting and modify the row height value without having to manually change the height of all the table rows?

  42. Once the excel spreadsheet is in the dwg – formatting is next to impossible. cells containing data derived from formulas in excel import into cad as txt font, the rest in arial, plus a decimal and 4 zeros. my favorite trick match properties is useless and the decimal and zeros won’t delete! am i missing something obvious?

  43. Once the excel spreadsheet is in the dwg – formatting is next to impossible. cells containing data derived from formulas in excel import into cad as txt font, the rest in arial, plus a decimal and 4 zeros. my favorite trick match properties is useless and the decimal and zeros won’t delete! am i missing something obvious?

  44. Greg – I don’t remember the specific limitations of AutoCAD 2005. No less, I personally haven’t run into said limit in AutoCAD 2008. Frankly, I have been rather satisfied with the improved Excel AutoCAD relationship introduced in the 2008 release.

  45. Greg – I don’t remember the specific limitations of AutoCAD 2005. No less, I personally haven’t run into said limit in AutoCAD 2008. Frankly, I have been rather satisfied with the improved Excel AutoCAD relationship introduced in the 2008 release.

  46. While special pasting a link from excell in AutoCad 2005, there is a limit to the number of columns and rows that you can link at one time. Is there a limit on the number of columns and rows “LINKED” in AutoCad 2008?

  47. While special pasting a link from excell in AutoCad 2005, there is a limit to the number of columns and rows that you can link at one time. Is there a limit on the number of columns and rows “LINKED” in AutoCad 2008?

  48. while trying the paste special option – it only pastes part of the table. Is there a reason it isn’t pasting the whole number of rows and columns?

  49. while trying the paste special option – it only pastes part of the table. Is there a reason it isn’t pasting the whole number of rows and columns?

  50. I presume you’re pasting things as an OLE Object (ie not an AutoCAD Table). Much like the setting for images, OLE objects have a frame option. The command (system variable actually) is OLEFRAME. I’d suggest setting that to 2 which will display the frame in the drawing, but will not plot it.

  51. I presume you’re pasting things as an OLE Object (ie not an AutoCAD Table). Much like the setting for images, OLE objects have a frame option. The command (system variable actually) is OLEFRAME. I’d suggest setting that to 2 which will display the frame in the drawing, but will not plot it.

  52. I have recently switched from Auto-CAD 2005 to 2008 – – and I have been using the paste special command for sometime but I can not get the border to stop printing in the newer version i s there a setting to turn this option off?

  53. I have recently switched from Auto-CAD 2005 to 2008 – – and I have been using the paste special command for sometime but I can not get the border to stop printing in the newer version i s there a setting to turn this option off?

  54. Barny – since the intriduction of tables we have been able to create a single-cell table. To that end, we should be able to select a single cell in Excel, and link it to AutoCAD. As for doing it with a script – that I am not sure about. I personally haven’t played around with the command line options of the data link commands in 2008.

  55. Barny – since the intriduction of tables we have been able to create a single-cell table. To that end, we should be able to select a single cell in Excel, and link it to AutoCAD. As for doing it with a script – that I am not sure about. I personally haven’t played around with the command line options of the data link commands in 2008.

  56. Is it possible link a autocad MText to one excel cell using a script?
    Maybe something like FileName.xls!.Sheet!.CellN! ….
    Did somebody ever tryed something similar to this?

  57. Is it possible link a autocad MText to one excel cell using a script?
    Maybe something like FileName.xls!.Sheet!.CellN! ….
    Did somebody ever tryed something similar to this?

  58. When importing an excel (2003) schedules with images within them into Autocad 2008 the cells with the images plot solid black. The excel sheets are imported using the paste special\paste link feature as a Microsoft Office Excel Worksheet.
    The plotter drivers are the most current and AutoCAD 2008 is up to date also. Is there something in the .pc3 file under graphic that I need to set?

    We are using a XEROX 510 laser plotter.

    David D.

  59. When importing an excel (2003) schedules with images within them into Autocad 2008 the cells with the images plot solid black. The excel sheets are imported using the paste specialpaste link feature as a Microsoft Office Excel Worksheet.
    The plotter drivers are the most current and AutoCAD 2008 is up to date also. Is there something in the .pc3 file under graphic that I need to set?

    We are using a XEROX 510 laser plotter.

    David D.

  60. I was trying to link the excel spread sheet to the AutoCAD drawing and was not able to select the “paste link function”. The “paste” function was automatically selected and the “paste link” function is shaded gray to where you can’t select it. Could you possible go into detail how I can solve this?

  61. I was trying to link the excel spread sheet to the AutoCAD drawing and was not able to select the “paste link function”. The “paste” function was automatically selected and the “paste link” function is shaded gray to where you can’t select it. Could you possible go into detail how I can solve this?

  62. Very interesting, what you have found about Excel tables. Do you know how can I save a viewport rendering?, I can not do that in AutoCAD 2008, “saveimg” does not work. I will apreciate any information about it. Thanks.

  63. Very interesting, what you have found about Excel tables. Do you know how can I save a viewport rendering?, I can not do that in AutoCAD 2008, “saveimg” does not work. I will apreciate any information about it. Thanks.

Leave a Reply to DenaCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from The CAD Geek

Subscribe now to keep reading and get access to the full archive.

Continue reading

Discover more from The CAD Geek

Subscribe now to keep reading and get access to the full archive.

Continue reading