PC Review


Reply
Thread Tools Rate Thread

how to detect change of calculation-option

 
 
Joerg Lensing
Guest
Posts: n/a
 
      9th Nov 2006
Hi NG,
If a user changes the dialog EXTRA/OPTIONS/CALCULATION, I want to start
a Makro. How can I do this? (Excel 2003)

tx Jörg

 
Reply With Quote
 
 
 
 
Bernie Deitrick
Guest
Posts: n/a
 
      9th Nov 2006
Jörg,

You can check with and event. For example, checking after the user changes the selection:

In a standard module:

Option Explicit
Public CalcMode As XlCalculation


In the codemodule of the ThisWorkbook object:

Private Sub Workbook_Open()
CalcMode = Application.Calculation
End Sub

Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
If Application.Calculation <> CalcMode Then
MsgBox "Calc Mode has changed"
CalcMode = Application.Calculation
End If
End Sub


HTH,
Bernie
MS Excel MVP


"Joerg Lensing" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
Hi NG,
If a user changes the dialog EXTRA/OPTIONS/CALCULATION, I want to start
a Makro. How can I do this? (Excel 2003)

tx Jörg


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detect Option Group Value in VBA Steve Microsoft Excel Programming 2 12th Apr 2009 09:47 PM
page.aspx?option - how to detect "option" Kevin Blount Microsoft C# .NET 6 28th Nov 2006 09:21 PM
page.aspx?option - how to detect "option" Kevin Blount Microsoft ASP .NET 6 28th Nov 2006 09:21 PM
Detect speech option in Excel 2003 =?Utf-8?B?TWFydmlu?= Microsoft Excel Programming 0 1st Jun 2006 06:33 PM
Re: detect & repair option Conrad Pfleging Microsoft Outlook 2 19th Jul 2003 07:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:40 AM.