Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Run Time error '1004' when running Calculation method
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Run Time error '1004' when running Calculation method
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" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Run-time error '1004': AutoFill method of Range class failed | Excel Discussion (Misc queries) | |||
Run-time error '1004': AutoFill method of Range class failed | Excel Discussion (Misc queries) | |||
Run-Time error '1004' : Select method of Range class failed | Excel Discussion (Misc queries) | |||
Run time error 1004 When running in 2003 | Excel Discussion (Misc queries) | |||
Dynamic chart generation: Run time Error '1004: Method 'Cells' of object'_Global' fai | Charts and Charting in Excel |