I'm using a hyperlink to open a workbook, then using a variable to go to the correct sheet, but I don't want any macros to run on opening by this method (there is a WorkBook_Open macro).
This doesn't seem to work. Any other ideas?
[vba]
Private Sub Workbook_SheetFollowHyperlink(ByVal sh As Object, ByVal Target As Hyperlink)
Application.EnableEvents = False
ActiveWorkbook.Sheets(sht).Activate
Application.EnableEvents = True
End Sub
[/vba]