Jambi46n2
Active Member
- Joined
- May 24, 2016
- Messages
- 258
- Office Version
-
- 365
- Platform
-
- Windows
Hello,
Please review my code below:
The code works great if the sheet name is named "goo"
It doesn't work if its named with capital letters like "Goo" or "GOO"
Is there a way that I can make this not case sensitive?
Thank you!
Please review my code below:
Code:
For Each ws In Sheets
If ws.Name Like "*goo*" Then
ws.Select Not flg
flg = True
ws.Name = "840"
End If
Next
The code works great if the sheet name is named "goo"
It doesn't work if its named with capital letters like "Goo" or "GOO"
Is there a way that I can make this not case sensitive?
Thank you!