Condition loop except some sheet?

I want to read excel except sheet name that contain = Extra

Now I use as below.

not item.tostring.Contains("Extra").ToString)

Please guide me about it.

1 Like

Hi @fairymemay

And what are you looping on

I think you used these steps to loop if not try this

  • Get Workbook Sheets and store in a “Sheets” variable
  • For each item in Sheets
    • If Not Item.tostring.contains(“Extra”)

Regards
Gokul

2 Likes

Hey @fairymemay

You want to check excel file names or the sheets ?

Thanks
#nK

@Nithinkrishna Sheet

1 Like

Yep, then the above mentioned @Gokul001 should help

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.