Needsomehelp10
New Member
- Joined
- Sep 5, 2017
- Messages
- 18
Hey guys,
Is there a way to shorten the following code so that I do not have to write or Range ("A1") = every time I wanna add an or statement? Thanks for the help in advance.
ElseIf Range("A1") = "Location 1" Or Range("A1") = "Location 2" Or Range("A1") = "Location 4" Or Range("A1") = "Location 5" Or Range("A1") = "Location 6" Or Range("A1") = "Location 7" Then do blah blah
Is there a way to shorten the following code so that I do not have to write or Range ("A1") = every time I wanna add an or statement? Thanks for the help in advance.
ElseIf Range("A1") = "Location 1" Or Range("A1") = "Location 2" Or Range("A1") = "Location 4" Or Range("A1") = "Location 5" Or Range("A1") = "Location 6" Or Range("A1") = "Location 7" Then do blah blah