I am portingcode to Autocad 2014 on a Windows 8 Machine from Autocad 2000i on a Windows XP machine. (A big jump, I know).

When I attempt to run a vba command, It takes me to the VBA debugger and highlights this line and gives this error:

What can I do to fix this?