Ironman
Well-known Member
- Joined
- Jan 31, 2004
- Messages
- 1,069
- Office Version
- 365
- Platform
- Windows
Hi
I have the following code:
I'm trying to amend this so that the code will also run if the active sheet is called "Analysis" (without the commas)
I've tried
but this errors.
Can you help me please?
Thank you
I have the following code:
Code:
If ActiveSheet.Name <> "Training Log" Then Exit Sub
I'm trying to amend this so that the code will also run if the active sheet is called "Analysis" (without the commas)
I've tried
Code:
If ActiveSheet.Name <> "Training Log" or "Analysis" Then Exit Sub
Can you help me please?
Thank you
Last edited: