AnsweredAssumed Answered

Run-time error when running code to load PDM

Question asked by Robert Voogt on Sep 7, 2018

Hi all,

 

I get this error:

 

runtime error.PNG

 

When I run my macro that does the following:

 

Sets a folder from pdm local (get latest version)

Runs code on the drawings in that folder

clears the cache of that folder

Opens another folder (until end of given locations of folders to be processed)

 

First folder goes great, 2nd folder gives this error somewhere during processing.

Is it possible to ignore this error and have the code continue with the next line of code?

 

ps, running the code manually on each folder doesn't produce this error.

Outcomes