Hello Everyone!
I have attached a macro that I was working on.
The intention of this macro is to open each drawing file in a specified folder (by the user) and save that drawing folder into 2 locations on our server.
Which inside the macro I call out as MDLPath and WDJPath
And in the event that it has a revision it will add that revision to the saved file name.
Ex. Part1 with rev A will be saved as Part1-A
However I cannot seem to get this thing to work. I keep getting an error
Run-time error '91':
Object variable or With block variable not set.
I thought I had fixed it but I cant seem to get this to work.
I was wondering if anyone would be able to help me out and help fix my issue.
I realize I may have some lines of code in the wrong position and it could be as simple as this needs to be moved up a few lines.
Thanks in advance!
Pencil
SolidworksApi macros