Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations JStephen on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export SolidWorks BOM to Excel

  • Thread starter Thread starter dec
  • Start date Start date
D

dec

Guest
I have created a macro that will export a SolidWorks type BOM in a drawing as an .xls file. I actually looked all over the internet and forums, but found nothing exactly as I wanted. So I came up with this.


You can either manually select a BOM in the feature tree or hard code the macro to look for a BOM by traversing the feature tree. It will then save it off as a .csv file which will then be saved off as an .xls file into the same folder as the drawing. If you use the .SaveAsText function to save it as an .xls file you will get a message saying that it is a text file when you open it. I wanted to avoid this and make it fully automated.


Hope this helps


Here is the link
Export SolidWorks BOM to Excel
 

Part and Inventory Search

Sponsor

Back
Top