Problem creating model using Macro

Hi, Currently I am trying to learn using macros. My question may be not a smart one, but I need help. I recoded the macro to create simple line in SW. When I run the macro again. I have this problem shown in the pic here. Anyone knows the cause? Thanks for the help.

SolidworksApi macros