S
silks
Hiya,
I am trying to activate a worksheet based upon the first 2 character
of its name.
The question is, how do I search the name of a worksheet?
I want something along the lines of
Range("A1").Select
If Selection = 01 then
Sheets("01Jan").Select
Else
If Selection = 02 then
Sheets("02Jan").Select
<etc>
End if
End if
<etc>
As you can probably see from this i'm new and rubbish!
Cheer
I am trying to activate a worksheet based upon the first 2 character
of its name.
The question is, how do I search the name of a worksheet?
I want something along the lines of
Range("A1").Select
If Selection = 01 then
Sheets("01Jan").Select
Else
If Selection = 02 then
Sheets("02Jan").Select
<etc>
End if
End if
<etc>
As you can probably see from this i'm new and rubbish!
Cheer