Today, I got the mesg "could not find obj or lib" from functions such as left, mid, chr etc while runing some macro
I checked the ref. and all the lib are included
Why these macro could not find these functions
Thx.
SolidworksApi macros
Today, I got the mesg "could not find obj or lib" from functions such as left, mid, chr etc while runing some macro
I checked the ref. and all the lib are included
Why these macro could not find these functions
Thx.
SolidworksApi macros
Under Tools\References uncheck the checkbox of some references then re-check them. This will force a re-compile of the macro and you should be good to go.
I've gotten into the habit in VBA of writing the string functions more explicitly (Strings.Left, Strings.Mid, Strings.Chr, etc.) to prevent this from happening when I push the macro out to other users.
Jared