anthonyexcel
Active Member
- Joined
- Jun 10, 2011
- Messages
- 258
- Office Version
- 365
- Platform
- Windows
Good morning,
I am pretty new to VBA. Just wondering is there a shorter way to write multiple or's in VBA. Thanks in advance
I am pretty new to VBA. Just wondering is there a shorter way to write multiple or's in VBA. Thanks in advance
Code:
If (gradelevel = 1 Or gradelevel = 2 Or gradelevel = 3 Or gradelevel = 4 Or gradelevel = 5 Or gradelevel = 6) Then