Linking Excel and AutoCAD with Data Links

Arguably the most valuable tool in the modern-day engineer’s toolbox is Microsoft Excel. People love Excel so much that after its launch in 1985 Microsoft redesigned the rest of the Microsoft Office programs to look more like it. Microsoft Excel’s dominance is undoubtedly tied to its flexibility. After all, I think it’s fair to say that nearly all of us have at least one Excel table that is “wickedly complex”. The introduction of OLE objects, and more recently AutoCAD Tables were noble attempts to synchronize AutoCAD with Excel, but still fell short for many real-world needs. What engineers wanted and needed was bidirectional synchronization between AutoCAD and Excel. Among the new features packed within AutoCAD 2008 is just that capability through use of Data Links.

To set up Data Links:

  1. Launch the TABLE command.
  2. Click “From a data link“, and launch the “Data Link Manager” by clicking the button (illustrated).

  3. Click “Create a new Excel Data Link”

  4. Name the Data Link – something intuitive.

  5. Browse for your Excel Table

  6. The “New Excel Data Link” dialogue can be expanded by clicking the button in the bottom right corner.
  7. Under “Cell Contents”, uncheck “Convert data types to text”, and check both “Retain Formulas” and “Allow writing to source file”. Checking those options will make it so your Excel formulas will be preserved, and that you will be able to make edits to the table in AutoCAD, and they be populated to the origional Excel file.
  8. Press the [Ok] button 3 times to get out of the command, and insert your linked table.

  9. Assuming you checked the “Retain Formulas” option when setting up the Data Link, you’ll notice fields (text with a grey background) for any calculated value.

After inserting your Excel table, any updates made in the source Excel file will be updated in AutoCAD. By default however you will not be able to update data from AutoCAD, and have it update in the source Excel document. To modify a table value in AutoCAD, select a cell, right-click, and navigate down to “Locking”, and select “Unlock”.

After unlocking a cell, you can click into a cell, change a value. As a deliberate checks and balances, to update the Excel file, you must right-click once again, and select “Write Data Links to External Source“.

So there you have it, a quick run-through on how to harness the new Data Links in AutoCAD 2008. Stay tuned for more in AutoCAD 2008.

Update: If you found this post helpful, you might also be interested in my other post titled “Quickly Link Excel Tables to AutoCAD“. You can find it and all of my posts related to Microsoft Excel by clicking the Excel tag below.

About Donnie Gladfelter

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

  • Vadiraj Parvatikar

    visit to know about design and drawing and estimate automation

  • Lou

    I have a fire map which got 700+ devices on it and each time we add/remove a device the whole numbering system gets changed. Therefore I am looking to link the device labels in autocad with excel spreadsheet and update the spreadsheet whenever we add/remove a fire device. I would really appriciate if somebody can give me some tips :)

  • Orestis Kastoriaios

    I want to link parameters of my excel table to an autoCAD drawing, ex. coordinates (x,y) to a map in autoCAD, can I do it?

  • Vinod3327

    i am wanted to link excel data in to autocad drawing in the form of cross section of the river or canal i.e the elevation versus chainages in the x and y axis respevtively by changing the data in the document file it would have to change automaticaly in the autocad drawing itself that is the profile change. but i could not it? can you explain me the required problem through my e-mail please.

  • Karamemmanuel

    how to link the CAD drawings names into excel? i.e. if I have series of drawings and want to change its names and the excel has already its names, so whatever I do in Cad, the excel will be updated according to CAD?? Same concept of (xref) in autoCAD.




  • Pingback: AutoCat vs Excel -

  • Pingback: What's new in AutoCAD: Annotations | CAD Notes

  • Pingback: Girls Mediafire Download Blog » Blog Archive » linking Excel external data to AutoCAD data extraction

  • Pingback: Lisp Cad|VBA |Download Autocad Blog » Blog Archive » linking Excel external data to AutoCAD data extraction