Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User-Function Auto Activation

Status
Not open for further replies.

N1GHTEYES

Technical User
Jun 18, 2004
771
GB
I think I remember reading that it was possible to programatically ensure that a user-function is called whenever the spreadsheet on which it is used changes (as per inbuilt functions). Unfortunately, I can't remember how.

Does anybody want to give me a clue?
 
Code:
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
    ' Call or Write Method here
End Sub
This will run whenever a worksheet changes but I'm not sure if there is a sub that covers the entire workbook.
 
You meant the Application.Volatile method ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top