can anyone tell me, How copy that table from excel to mail body to send mail and all this columns have multiple values how can i do this
Can you share input Excel file
sorry, i can’t share, can u plz tell the solution
you cannot copy the table from excel to mail directly
instead read the data into datatable then if you dont need formatting can use create html content activity directly and use the output in mail activity
else if you need formatting then you have to go with looping and creating the table with each formatting you need
cheers
Check the below and try.
Copy Excel Table To Email.zip (187.4 KB)
Hope it helps!!
here the column name is same but value are dynamic sometimes it less or more
if rows are increases, this code will work?
@yogitagaikwad2206
No,It will work Because as the excel contains the data normally not in the tables.
If The data in excel is in tables. Then we can able to give the table name instead of Range.
Hope you understand
Open outlook and indicate on new email
@yogitagaikwad2206
Login with your Outlook account
actually i don’t have outlook i have gmail account