jjellin
Mechanical
- Jun 4, 2001
- 35
I want to extend on the Bill of Material function that Solidworks already has. Basically I want a macro to make a Bill of Materials with my custom template (this part I can probably figure out). Then I want to save that BOM as an Excel File (again I could probably figure that out too). Okay hard part:
1. I want to now open Excel and run a macro I already developed to take the BOM in Excel format and do some stuff (arrange things, add a summation of a column,...) and then print it.
2.Excel would then close and I would return to Solidworks with my printed copy of the BOM sitting in the printer.
3. Ending most likely would be a delete of the BOM table from the drawing. (Another one I could probably figure out)
Basically I need to know how to call another program (Excel) from Solidworks, run a macro, and then close Excel.
Any help would be greatly appreciated,
Thanks,
Jason
1. I want to now open Excel and run a macro I already developed to take the BOM in Excel format and do some stuff (arrange things, add a summation of a column,...) and then print it.
2.Excel would then close and I would return to Solidworks with my printed copy of the BOM sitting in the printer.
3. Ending most likely would be a delete of the BOM table from the drawing. (Another one I could probably figure out)
Basically I need to know how to call another program (Excel) from Solidworks, run a macro, and then close Excel.
Any help would be greatly appreciated,
Thanks,
Jason