LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default SheetCalculate (F9) does not reach the excel-addin

When you press F9 Excel does a Recalculate of all open workbooks, not a
Sheet calculate: did you mean Shift-F9 (recalculates all selected sheets)?
If so then Shift-F9 will not trigger a recalc of sheets in an addin because
the sheets will not be selected.

Why do you think that pressing F9 will not trigger a recalc of sheets in an
addin? It does trigger a recalc of addin sheets in my system: try adding a
volatile function to a sheet in your addin and putting some code
(debug.print "Hello") in the worksheet_calculate sub of that sheet. You will
see "Hello" in the immediate pane every time you press F9.

regards
Charles
______________________
Decision Models
FastExcel 2.1 now available
www.DecisionModels.com


"kikde" wrote in message
...
Hi,
i have a problem with an addin.
the sheetCalculate-event won't be fired for the add-In, so the code in the
event handler of the add-inn won't be started...

few more infos:
- Other events like WorkbookActivate will be fired for the add-in
- sheetCalculate will be fired for the active workbook (only for testing,
there is no code
- no other add-inns are started



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel how to be alerted when cells reach preset number? EA Excel Worksheet Functions 1 November 20th 07 07:00 PM
short cut to reach a sheet jph Excel Discussion (Misc queries) 2 June 26th 06 03:49 PM
Sum of row until you reach a certain amount Andman Excel Discussion (Misc queries) 3 March 25th 05 06:51 AM
Remove Excel AddIn from AddIn List !! Help carl Excel Programming 2 December 8th 03 03:36 PM
Problem with SheetCalculate Event Jim Rech Excel Programming 3 November 6th 03 02:08 PM


All times are GMT +1. The time now is 03:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"