There must be a simpler command to find match for a numerous conditions.
I have the following code:
if ws.name = sSheet1 Or ws.name=sSheet2 or Ws.name=sSheet3....
there must be something like this:
if ws.name in (sSheet1, sSheet2..) then
....
Please advice,
Thank you.
Dré
I have the following code:
if ws.name = sSheet1 Or ws.name=sSheet2 or Ws.name=sSheet3....
there must be something like this:
if ws.name in (sSheet1, sSheet2..) then
....
Please advice,
Thank you.
Dré