Hi
Sometimes I get run-time error '10' 'The array is fixed or temporarily locked'
In the line> names = swCustPropMgr.GetNames
In the code I loop throw a lot of files, and scan all the properties in each part.
Can anybody help ?
BR Niels
.......
Dim names As Variant
.......
Set swCustPropMgr = swModel.Extension.CustomPropertyManager("")
names = swCustPropMgr.GetNames
.......
It might be due to fact the property array from previous file is being read while macro jumps on the next one. So you might want to clear the array once a file has been finished processing. If you can share up the full code, someone might be able to put up a better answer/solution.