LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default Excel Event Firing with Automatic Calculation

Interesting! I use Excel 2000, and I always see the "Calculate" event
first, followed by the "SelectionChange" event, regardless of whether I hit
"Enter" or whether I select a different cell to enter the changed value
into the previously edited cell.

Would using only the "Change" event work for you, rather than using both
the "Calculate" and "SelectionChange" events? It seems that this would be
what you are really trying to capture. On my machine, the "Calculate" event
occurs before the "Change" event, so your worksheet should be up-to-date
before you attempt to write back to storage.

You might be able to use Application.Calculate in your "Change" event
handler to make sure the worksheet has been calculated anyway.
--
Regards,
Bill Renaud



 
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
Click event on menu item is lost after first time firing of the event [email protected] Excel Programming 1 April 2nd 07 01:25 PM
Excel newWorkbook event not firing Jeff Excel Programming 2 May 19th 06 12:25 AM
New instance of excel.exe not firing newWorkbook event [email protected] Excel Programming 0 May 18th 06 09:41 PM
New instance of excel.exe not firing newWorkbook event [email protected] Excel Programming 0 May 18th 06 09:41 PM
OnTime event not firing in Workbook_Open event procedure GingerTommy Excel Programming 0 September 24th 03 03:18 PM


All times are GMT +1. The time now is 07:00 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"