Macro to rename SOLIDWORKS bodies of cut-list items

Hi,

I tried to use this macro from CodeStack :https://www.codestack.net/solidworks-api/document/cut-lists/rename-cut-list-bodies/

 

But when I use it I have this message pointing to this line of the VBA program





As anyone have a suggestion to debug the macro?

Thanks!