I am getting some debug error when run macro for Adding Drawing View Label.

I am getting a couple of Debug error when I run the macro for "AddViewLabel" downloaded from Lenny's SolidWorks Resources.

I am not familiar with API or macro, but want to learn them.

Any help to fix this macro will be much appreciated.

Also please let me know if there are any good resources for learning API and macro from scratch.

Thanks in advance.

SolidworksApi macros