Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Two guesses:
Are you two using different versions of excel? xlcalculationmanual was added in xl97 (IIRC) But you could use xlmanual (for backwards compatibility). from the VBE immediate window: ?xlmanual -4135 ?xlcalculationmanual -4135 so both mean the same thing ======= Is this code in an addin? Maybe you get the error because there is no activeworkbook???? If ActiveWorkbook Is Nothing Then 'do nothing Else Application.Calculation = xlCalculationManual End If john wrote: When running some of my code which includes the ubiquitous statement Application.Calculation=xlCalculationManual a colleauge of mine gets Run Time Error 1004. Does anyone know how to correct this (aside from sandwiching the statement in On Error Resume Next and On Error Goto 0)? tks, john -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula causing run-time error in Excel Programming | Excel Worksheet Functions | |||
Run-time error '-2146233079 (80131509)' in the Excel Application | New Users to Excel | |||
Run-time error '-2146233079 (80131509)' in the Excel Application | Excel Discussion (Misc queries) | |||
I got this problem run-time error 1004 application defined ... | Excel Discussion (Misc queries) | |||
Using Application.quit is causing my macro to run and print twice... | Excel Programming |