Could not find obj or lib

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
Answers 2
MK
MK 2010-11-01 Best Answer

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.

SF
SF 2010-11-01

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