Calc mode display on worksheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there anyway to display on the worksheet itself of the Calculation mode ie
automatic or manual.
Thank you
Robert
 
Hi

This UDF does it - save it into any workbook module, and then use the
formula <=CALCMODE(NOW())> in any cell:

Public Function CalcMode(Optional parTime As Date) As String
Select Case True
Case Application.Calculation = xlCalculationAutomatic
CalcMode = "Automatic"
Case Application.Calculation = xlCalculationManual
CalcMode = "Manual"
Case Application.Calculation = xlCalculationSemiautomatic
CalcMode = "Semiautomatic"
End Select
End Function
 
Try this UDF:
Function calcmod()
kalkmod = IIf(Application.Calculation = xlAutomatic, "AUT", "MAN")
End Function

Regards,
Stefi


„Robert†ezt írta:
 
I am sure Stefi was right but I could not get it to work. Even getting Arvi's
to work was difficult, I did not know how to set up a UDF. Finally made it
with Arvis).
Thank you Stefi
 

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

Back
Top