I've written new macro to save drawings as PDF to the network location folder depending on the file name. Everything was fine until i added swmodel.printout4 option at the end of the macro. Macro does everything as it supposed to, but after it, if i try to close solidworks it just crashes instead of closing. Any ideas why this could be happening?
I use this code for printing:
Set swPrintSpecs = swModelDocExt.GetPrintSpecification