AutoCAD

How to Insert Excel File in AutoCAD 2021?

Methods to Incorporate Excel Files into AutoCAD 2025

Integrating an Excel file into AutoCAD can enhance the efficiency of your projects by allowing for easy data manipulation and visualization. Below are detailed methods to achieve this in AutoCAD 2025.

Using the Full, Relative, or No Path

  1. Open AutoCAD and navigate to the Insert tab.
  2. Click on Data Link and select Create new Excel Data Link.
  3. Follow the prompts to establish a connection:
    • Choose Full Path to link to the file using the complete file path.
    • Opt for Relative Path if the Excel file is in the same directory as your AutoCAD project.
    • Select No Path if you prefer to insert it without a direct link to the file. This approach makes the data static.

Importing a CSV File into AutoCAD

  1. Open AutoCAD and go to the Insert tab.
  2. Click on Data Link and select Import.
  3. In the Files of Type dropdown, select CSV files.
  4. Locate your CSV file and click Open to import the data directly into your drawing.

Linking Excel Data to AutoCAD

  1. Start by opening the Excel file that contains your data.
  2. Select the desired range of cells and copy them (Ctrl+C).
  3. Now, return to AutoCAD and execute the MULTIPLE POINTS command.
  4. Paste the copied data (Ctrl+V) to create points based on your Excel data.

Importing Data Files

  1. Begin with downloading the attached SCR file.
  2. Open this file in a text editor like Notepad.
  3. After the first line, add your coordinates in the X, Y, Z format.
  4. Save and close the file.
  5. Open your drawing in AutoCAD.
  6. Simply drag and drop the SCR file into the AutoCAD model space.

Coordinate Conversion from Excel to AutoCAD

  1. In Excel, use the CONCAT function to combine X, Y, and Z coordinates into a single format: X,Y,Z.
  2. Copy the entire column of coordinates.
  3. Open AutoCAD and run the MULTIPLE POINTS command.
  4. Paste (Ctrl+V) the coordinates into AutoCAD.

Converting AutoCAD Tables to Excel

  1. In AutoCAD, type the command TABLEEXPORT.
  2. Select the specific table you wish to export when prompted.
  3. Determine a filename and choose a save path for your file in CSV format.
  4. Open the exported CSV file in Excel to format and further manipulate the data as needed.

Importing XYZ Data into AutoCAD

  1. Change the file extension of your XYZ data file to TXT within Windows Explorer.
  2. Use the command MAPIMPORT in AutoCAD.
  3. Select ASCII Point File when prompted.
  4. Choose the right formatting for your TXT file, whether it’s comma or space-delimited.
  5. Press OK to complete the import.

Linking Excel with Block Attributes in AutoCAD

  1. Select the block attributes you wish to modify.
  2. Access the Express Tools menu and navigate to the Blocks category.
  3. Choose Export Attributes (ATTOUT) to generate a text file.
  4. Open this text file in Excel to make any necessary changes.
  5. Save the modified data as an Excel file.

Frequently Asked Questions

1. Can I directly import an Excel file into AutoCAD without using any intermediary steps?
No, you cannot directly import Excel files. You will need to link or embed the data as a CSV file or via the defined methods above.

2. What file formats does AutoCAD support for import?
AutoCAD supports a variety of formats, including CSV, XLS, XLSX, DXF, and more for seamless integration of various data types.

3. Is it possible to edit linked Excel data directly in AutoCAD?
No, you cannot edit the linked Excel data directly within AutoCAD. Any changes must be made in the Excel file and then re-linked for updates to reflect in AutoCAD.

About the author

Wei Zhang

Wei Zhang

Wei Zhang is a renowned figure in the CAD (Computer-Aided Design) industry in Canada, with over 30 years of experience spanning his native China and Canada. As the founder of a CAD training center, Wei has been instrumental in shaping the skills of hundreds of technicians and engineers in technical drawing and CAD software applications. He is a certified developer with Autodesk, demonstrating his deep expertise and commitment to staying at the forefront of CAD technology. Wei’s passion for education and technology has not only made him a respected educator but also a key player in advancing CAD methodologies in various engineering sectors. His contributions have significantly impacted the way CAD is taught and applied in the professional world, bridging the gap between traditional drafting techniques and modern digital solutions.