Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have an excel file which consists of many sheets. But I want to fetch only the sheets which starts from 'L *'.
For example sheet names are:
Sheet Name |
L ABC |
L DEF |
L POI |
DEF |
ABC |
But I want to fetch only the sheets which starts from "L *" green colored.
Kindly suggest how to apply for loop or any other logic.
With this script, you should be able to and an IF condition to the vSheetName variable:
I have already read this.. but unable to found solution.
That linked solution is the way to go if you want to loop dynamically.
You need to have the Microsoft odbc connector to excel in order to get that linked solution to work.