SheetCalculate Event

P

pwz

Hi all,

The Macro1 below was not evoke upon the calculation of active worksheet. I
put these codes under ThisWorkBook but saved as addin (.xla) file. The
auto-filter was set on the newly created worksheet.

Private Sub Workbook_SheetCalculate(ByVal ob As Objects)
If ob.AutoFilterMode Then Macro1
End Sub

Should these event code must be placed under ThisWorkBook of newly created
worksheet in order to call Macro1? Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top