8 Replies Latest reply on Jan 15, 2018 12:51 PM by Carrie Ives

    Save as PDF/DXF macro hanging

    Rebecca Bemrose-Fetter

      I have a VBA macro that we use regularly to export a currently open drawing to both dxf and pdf. It adds the revision to the end of the file names. We've been using it for months with no issues.

       

      This morning I've tried to run it several times but it gets stuck and just spins. I've stepped through the file and located the line it hangs at (highlighted below). There is no way to get it to continue once it runs this line - I have to eventually end the task through Windows Task Manager.

       

       

      Nothing has changed that I know of that could cause this behaviour. This macro has even previously been run on the files I tried.

       

      Any ideas what's up? For reference, I am using SolidWorks 2015 SP5.0