AnsweredAssumed Answered

Error 70 in PDM Root folder

Question asked by Robert Voogt on Aug 9, 2018

Hi all,

 

My code (Solidworks VBA Macro) processes files that are various levels of subfolders deep from the input path (when choosing a path outside pdm) . When I select the PDM root path or 1 subfolder down of that path, I get an error 70. It should process at least 1 drawing because when I choose the path where the file is located (a few subfolders down) I get no error.

 

I think that a few of those top level folders are protected somehow. How can I tell the macro to keep looking even if it encounters an error 70? With 'resume next' the code just ends. (using GoTo, rather not, also doesn't help)

Outcomes