2
'Application.Calculate = xlManual'

I put this line in my code to make calculations in manual mode, but it shows "expected function or variable" Error. Can you help?

2 Answers 2

5

There is no such enumerator value. You are also using the Application object incorrectly.

Use Application.Calculation = xlCalculationManual instead

Sign up to request clarification or add additional context in comments.

Comments

1

xlCalculationManual Returns or sets a XlCalculation value that represents the calculation mode.

Application.Calculation=xlCalculationManual

MSDN

1 Comment

+ 1 Or use the value Application.Calculation = -4135

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.