Good Day,
May I know how to get the sheet names in an Excel File dynamically using Modern Excel?
Kindly see below attached files for the sample Excel file and .xaml file. Thank you.
Main.xaml (7.5 KB)
Test_Excel_File1.xlsx (10.2 KB)
Best regards,
Robert
rlgandu
(Rajyalakshmi Gandu)
2
@RobertRussell_Monsalud
Use Get workbook Sheets activity to get the sheets excel dynamically.
or use for each excel sheet
In the message box give
CurrentSheet.Name it will give the name of the current sheet
1 Like
Veera_Raj
(Veeraraj Sethuraman)
3
there is activity name calledd get sheet name
by using that activity you can get sheet name
1 Like
vrdabberu
(Varunraj Dabberu)
5
@RobertRussell_Monsalud
xaml
Output
Hope it helps!!
1 Like
lrtetala
(Lakshman Reddy)
6
Hi @RobertRussell_Monsalud
Use Get workbook sheets activity

or
1 Like
mkankatala
(Mahesh Kankatala)
7
Hi @RobertRussell_Monsalud
Inside Use excel file activity you can use the For each excel sheet activity which iterates the sheets in the excel.

Hope it helps!!
Akshay_B
(Akshay B)
8
Hello Robert,
You can use ‘Get Workbook Sheet’ activity which is available in Classic activities.
Regards
1 Like
Hi All @pravallikapaluri @rlgandu @Veera_Raj @vrdabberu @lrtetala @mkankatala @Akshay_B
Thank you so much for all of your help and inputs. I really appreciate it.
Best regards,
Robert
4 Likes
Akshay_B
(Akshay B)
11
Your Welcome , I hope you were able to solve it:)
1 Like
system
(system)
Closed
12
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.