Does anyone have any suggestions- or where I should try next?
Please make sure the library references are correct int he macro. And variables are are defined.
Check this video to update/correct the macro reference as suggested here (don't worry on the fact that video is for fixing missing library error but check the process to update your macro library): Fix-Update SOLIDWORKS Macro References
Retrieving data ...