P
PCLIVE
I started getting this error a little while back.
Run-time error '1004':
Cannot run Visual Basic macro because of a syntax error.
This macro is activated by a button on my worksheet.
The first time I press it, I get the error. However, the first error does
not allow me to click "Debug".
I press the button again and the error comes up again. This time I can
click "Debug" which highlights "Application.Calculate".
I can continue running the macro code by pressing the triangle or play
button...or I can close the VB editor and click the button that calls the
macro. In either case, the macro runs through without error.
Any ideas why this error occurs at "Application.Calculate"?
Thanks,
Paul
Run-time error '1004':
Cannot run Visual Basic macro because of a syntax error.
This macro is activated by a button on my worksheet.
The first time I press it, I get the error. However, the first error does
not allow me to click "Debug".
I press the button again and the error comes up again. This time I can
click "Debug" which highlights "Application.Calculate".
I can continue running the macro code by pressing the triangle or play
button...or I can close the VB editor and click the button that calls the
macro. In either case, the macro runs through without error.
Any ideas why this error occurs at "Application.Calculate"?
Thanks,
Paul