Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Help - Run Macro on Calculate

BlankI have several workbooks with multiple sheets filled with formulas. At the same time, I also have a number of modules and sub procedures in my vba code.

Is there a method/procedure/function to automatically run a module/sub procedure when a user chooses "Calculate" or presses "F9" in a worksheet??

Thanks,
Don


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Help - Run Macro on Calculate

BlankPut codes into the SheetCalculate event of the module "ThisWorkbook"


Private Sub Workbook_SheetCalculate(ByVal Sh As Object)

End Sub
"DonW" 撰寫於郵件 ...
I have several workbooks with multiple sheets filled with formulas. At the same time, I also have a number of modules and sub procedures in my vba code.

Is there a method/procedure/function to automatically run a module/sub procedure when a user chooses "Calculate" or presses "F9" in a worksheet??

Thanks,
Don



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Help - Run Macro on Calculate

BlankThanks Eddy
"Eddy" wrote in message ...
Put codes into the SheetCalculate event of the module "ThisWorkbook"


Private Sub Workbook_SheetCalculate(ByVal Sh As Object)

End Sub
"DonW" 撰寫於郵件 ...
I have several workbooks with multiple sheets filled with formulas. At the same time, I also have a number of modules and sub procedures in my vba code.

Is there a method/procedure/function to automatically run a module/sub procedure when a user chooses "Calculate" or presses "F9" in a worksheet??

Thanks,
Don


Reply
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
Macro to calculate next rate increase in weeks Rosemarie Excel Discussion (Misc queries) 1 August 4th 09 02:14 PM
Macro to calculate, merge, and delete Lost in Excel Excel Worksheet Functions 10 July 31st 09 04:56 PM
Excel 2003 Macro to re-calculate until... Dan New Users to Excel 4 June 2nd 06 06:35 PM
Calculate Now F9 Unavailable after macro run Ray Hooper Excel Discussion (Misc queries) 6 August 4th 05 08:25 PM
Macro that hide or unhide and not calculate or calculate Jonsson Excel Programming 1 August 19th 03 04:22 PM


All times are GMT +1. The time now is 04:33 PM.

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

About Us

"It's about Microsoft Excel"