Run Time error '1004' when running Calculation method

G

Guest

I am getting a Run Time error '1004' when running Calulation method lines in my code. I'm running the code for speed reasons along side Application.ScreenUpdating = False which has improved the speed of my app.

The lines which trigger the error are :

Application.Calculation = xlCalculationAutomatic or
Application.Calculation = xlCalculationManual

Any suggestions / help much appreciated.

Simon
 
T

Tom Ogilvy

If using Excel 97 and running the code from a commandbutton, try changing
the TakeFocusOnClick property of the commandbutton to false.

--
Regards,
Tom Ogilvy

Simon P said:
I am getting a Run Time error '1004' when running Calulation method lines
in my code. I'm running the code for speed reasons along side
Application.ScreenUpdating = False which has improved the speed of my app.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top