For each loop (what to enter for [in])

I have used excel application scope to and read range excel to read the sheets that I want such as like “Sheet1”, “Sheet2”

However, I’m not very sure on how to use the for each loop, what do I enter inside the blank box [in] (enter a VB expression)

image

Hi @PHS_BE

If you need to loop through all the values in excel?

If yes, Use For each row in data table activity

Regards
Gokul

HI,

If you need to iterate each sheet in your workbook, the following will help you.

Please note that TypeArgument of ForEach is String.

Regards,

Thank you so much :slight_smile:

1 Like

Thank you so much :slight_smile: :laughing:

1 Like

Hi @PHS_BE

Kindly close this topic by mark as solved. It will help for others too.

Regards
Gokul