Paige,
What about toggling the calculation mode with the notice in StatusBar? A
linked two-way short-key would be useful.
Private Sub AutoManuCalculation()
With Application
If .Calculation = xlCalculationAutomatic Then
.Calculation = xlCalculationManual
.StatusBar = "ATTENTION Manual calculation!"
Else
.StatusBar = False
.Calculation = xlCalculationAutomatic
End If
End With
End Sub
--
Petr Bezucha
"Paige" wrote:
> Thanks, John!!!
>
> "John Bundy" wrote:
>
> > Here you go for the whole workbook
> >
> > Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target
> > As Range)
> > If Application.Calculation = xlCalculationAutomatic Then
> > ActiveSheet.Cells(1, 1) = "Auto"
> > If Application.Calculation = xlCalculationManual Then ActiveSheet.Cells(1,
> > 1) = "Manual"
> > End Sub
> >
> > --
> > -John Northwest11
> > Please rate when your question is answered to help us and others know what
> > is helpful.
> >
> >
> > "Paige" wrote:
> >
> > > I need to have a cell that tells the user what the current state of
> > > calculation is (i.e., is it set to automatic or manual); this would have to
> > > change automatically whenever calculation is changed from auto to manual or
> > > vice versa. The workbook is normally set to auto, but the user can change
> > > the status manually back and forth. Where/how can I insert code that would
> > > be triggered to update whenever calc is changed, and look to see what it was
> > > changed to? Tried putting some code under various worksheet and workbook
> > > events, but keep getting those pesky little 'out of stack space' messages!
|