SolidWorks Insert Excel Table into Drawing Guide
In this article
Inserting an Excel table into a SolidWorks drawing allows you to integrate complex calculations, external data sets, or custom Bill of Materials (BOM) that exceed the native capabilities of the SolidWorks table tool. This is achieved by using the Object Linking and Embedding (OLE) feature, which lets you either embed a static copy of the spreadsheet or create a live link that updates the drawing whenever the source Excel file is modified. This process is essential for engineers who need to maintain a single source of truth for part lists or material specifications across multiple drawing sheets.
What You'll Need
- A registered installation of SolidWorks.
- Microsoft Excel installed on the same workstation.
- A prepared Excel workbook (.xlsx or .xls) containing the data you wish to display.
- An open SolidWorks Drawing (.slddrw) file.
Step-by-Step
- Prepare Your Excel Data: Before opening SolidWorks, open your Excel file. Highlight only the specific range of cells you want to appear in the drawing. It is highly recommended to apply borders and formatting (such as bold headers and center-alignment) within Excel first, as formatting the table inside SolidWorks is limited. Save the file in a permanent directory to avoid broken links later.
- Copy the Data: With the desired cell range selected in Excel, press
Ctrl + Cor right-click and select Copy. - Navigate to the Drawing: Switch to your SolidWorks drawing sheet. Ensure you are in the active drawing environment and not currently editing a sketch or a specific annotation.
- Insert the Object: Go to the top menu bar. Navigate to Insert > Object. Note that menu labels may differ slightly depending on your specific version or customized toolbar layout.
- Configure the Object Type: In the Insert Object dialog box, you have two primary choices:
- Create New: This opens a blank Excel sheet within the drawing. Use this if you haven't created the data yet.
- Create from File: This is the preferred method for existing data. Click the Browse button and select your saved Excel workbook.
- Choose Linkage Type: If you selected "Create from File," you will see a checkbox labeled Link.
- Unchecked (Embedded): The table becomes part of the SolidWorks file. If you change the original Excel file, the drawing will not update. This is best for archival purposes.
- Checked (Linked): The drawing maintains a connection to the external file. Any changes made to the Excel file will automatically reflect in the drawing upon opening or refreshing. This is best for active projects.
- Place the Table: Click OK. The cursor will now carry the table. Click once on the drawing sheet to place the table at its default size, or click and drag to scale the table to the desired dimensions.
- Position and Scale: Use the handles on the corners of the inserted object to resize the table. Be cautious when scaling; stretching the table too far can distort the text and make the table look unprofessional. Use the move tool to align it with your title block or drawing views.
Common Mistakes
One of the most frequent errors is failing to format the Excel cells before importing. Many users insert a raw data range and then realize they cannot easily change the font style, cell padding, or border thickness within the SolidWorks interface. Because the table is treated as an OLE object, you are essentially looking at a "window" into Excel; if the window shows unformatted cells, the drawing looks unfinished.
Another common mistake is placing the Excel file in a temporary folder or a local "Downloads" directory. If you choose the Link option and then move the Excel file to a different folder or rename it, SolidWorks will lose the path to the data. This results in a broken link error or the table failing to update, which can lead to dangerous inaccuracies in a production drawing if the data has changed but the drawing still shows the old values.
Users also often forget to set the print area or hide gridlines in Excel. If you select a range that includes empty surrounding cells, SolidWorks may import a large white border around your data, making it difficult to position the table precisely against the drawing border.
Tips
To maintain a clean aesthetic, turn off the gridlines in Excel (View > Gridlines) before copying and pasting. This ensures that only your intentional borders are visible in the SolidWorks drawing, preventing the "graph paper" look from appearing on your professional blueprints.
If you are using a linked table, keep the Excel file and the SolidWorks drawing in the same project folder. This makes it significantly easier to manage the files when archiving the project or sending the entire package to a client or manufacturer, as the relative file paths are more likely to remain intact.
For tables that require frequent updates, use the Link method but create a dedicated "Data" sheet within your workbook. This allows you to perform complex calculations on one sheet and have a clean, formatted "Summary" range on another sheet that is the only part linked to the SolidWorks drawing.
If you need to edit the data quickly, you do not need to find the original file on your hard drive. Simply double-click the table within the SolidWorks drawing. This will launch Excel and open the source file (if linked) or the embedded instance (if not linked), allowing for immediate data entry.
Troubleshooting
If the table does not appear after clicking OK, check if you are working on a drawing sheet that is hidden or if the table was placed outside the visible boundaries of the sheet. Zoom out to the full extent of the page to locate the object.
If you encounter a "Linked file not found" error, you must update the link. Right-click the table object and look for the Links or Change Source option (this may vary by version). Navigate to the new location of the Excel file and select it to restore the connection. If the link refuses to update, try closing both SolidWorks and Excel, then reopen the Excel file first before opening the drawing.
When the table appears blurry or pixelated, it is usually a result of excessive scaling within SolidWorks. Instead of dragging the corners to make a small table larger, go back to Excel, increase the font size and row heights to the desired final scale, and then re-insert the object. This ensures the resolution remains sharp during PDF export or printing.
If double-clicking the table does not open Excel, ensure that Microsoft Excel is properly associated as the default application for .xlsx files on your operating system. If the association is broken, the OLE bridge between the two programs will fail.
Frequently Asked Questions
Can I use a SolidWorks native table instead of Excel?
Yes, SolidWorks has built-in General Tables and BOM tables. These are better for simple lists and integrate directly with the 3D model's properties, but they lack the advanced formula and data manipulation power of Excel.
Will the Excel table update automatically when I change the spreadsheet?
Only if you selected the Link checkbox during the Insert Object process. If the table was embedded, it is a static snapshot and will not change.
Does the person viewing the drawing need Excel to see the table?
They do not need Excel to view the table in a PDF or a printed drawing. However, they will need Excel installed if they open the .slddrw file and wish to edit the table data.
Can I link a specific named range from Excel?
While you cannot select a "Named Range" directly in the Insert Object dialog, you can highlight the range in Excel before copying, which tells SolidWorks exactly which cells to reference.
Is there a limit to how many Excel tables I can insert?
There is no hard limit, but each OLE object consumes system memory. Too many large, linked Excel tables can slow down the opening and saving times of your drawing file.