Ironman
Well-known Member
- Joined
- Jan 31, 2004
- Messages
- 1,069
- Office Version
- 365
- Platform
- Windows
Hi
I have a custom view named "All Routes List"
I'm trying to activate this view when the worksheet named "Analysis" is opened.
I've tried inserting the below code in the worksheet:
And it returns "Compile error - Sub or function not defined"
Please can you help?
Thank you.
I have a custom view named "All Routes List"
I'm trying to activate this view when the worksheet named "Analysis" is opened.
I've tried inserting the below code in the worksheet:
Code:
Private Sub Worksheet_Activate()
CustomViews("All Routes List").Show
End Sub
And it returns "Compile error - Sub or function not defined"
Please can you help?
Thank you.