Dear all
Could someone help me with this thing please
Why can't I do the thing like that?
Could someone help me with this thing please
Rich (BB code):
Dim FirstSel As .....
Dim SecondSel As ....
Dim ws As Worksheets
For Each ws In Worksheets
Select Case True
Case ws.Name Like "INV*"
FirstSel = ws.Select '''''''''''''''''''''''''''''Debug here.
Case ws.Name Like "Reim*"
SecondSel = ws.Select '''''''''''''''''''''''''''''Debug here.
Case ws.Name Like "DN*"
MsgBox ws.Name
Case Else
MsgBox ws.Name
End Select
Next ws
Why can't I do the thing like that?