View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Norman Jones Norman Jones is offline
external usenet poster
 
Posts: 5,302
Default Event Macro Calculate Does Not Work

Hi Carl,

Sub Workbook_Calculate(ByVal Sh As Object)


I am not aware of this event.

The following worked for me:

Private Sub Workbook_SheetCalculate(ByVal Sh As Object)
Application.Run "EnterTitle"
End Sub


---
Regards,
Norman



"Carl Bowman" wrote in message
...
I need a macro to run the application "EnterTitle" any time the workbook is
recalculated, whether it be manually using F9, or automatically, when any
cell changes if the calculation mode is in automatic. I entered the
following
syntax by right-clicking the Excel logo and selecting "View Code" but this
does not work.

Sub Workbook_Calculate(ByVal Sh As Object)
Application.Run "EnterTitle"
End Sub

Thanks in advance.