Excel File Reading_0111

Hello guys,

i have a folder containing excel it should take excel if there else it should throw no excel.

@Gokul_Murali

Use Directory.Getfiles("Folder","*.xlsx") this can be stored in a variable array of string

use if condition if arr.count>0 then file exists else throw error

cheers

@Anil_G
thank you so much man

1 Like

@Anil_G

One more (Using ReFramework)

if there is any system exception i want to write a remark in excel.

so where can i use the write cell activity for any system exception.

@Gokul_Murali

  1. In the exception block on process transaction
    or
  2. Set Transaction status system exception sequence

cheers

@Anil_G

MicrosoftTeams-image (11)

MicrosoftTeams-image (12)

See i hae used like this but didnt worked.

@Gokul_Murali

Ideally it would…can you please check by using a break point or step into

cheers

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