@felyoubi
Please find the below approach.
I assuming you want to send an email for each row.


Code:
Excel.LaunchExcel.LaunchAndOpenUnderExistingProcess Path: $fx'C:\\Boot\\Felyoubi.xlsx' Visible: True ReadOnly: False Instance=> ExcelInstance
Excel.ReadFromExcel.ReadAllCells Instance: $fx'=ExcelInstance' ReadAsText: False FirstLineIsHeader: True RangeValue=> ExcelData
LOOP FOREACH CurrentItem IN $fx'=ExcelData'
SET ID TO $fx'=ReadCell(CurrentItem, 1)'
Display.ShowMessageDialog.ShowMessage Title: $fx'ID' Message: $fx'=ID' Icon: Display.Icon.None Buttons: Display.Buttons.OK DefaultButton: Display.DefaultButton.Button1 IsTopMost: False ButtonPressed=> ButtonPressed
SET Number TO $fx'=ReadCell(CurrentItem, 2)'
Display.ShowMessageDialog.ShowMessage Title: $fx'Number' Message: $fx'=Number' Icon: Display.Icon.None Buttons: Display.Buttons.OK DefaultButton: Display.DefaultButton.Button1 IsTopMost: False ButtonPressed=> ButtonPressed
Text.CreateHTMLContent HtmlEditor: $fx'<p>Hi User,</p><p>ID: ${ID}</p><p>Number: ${Number}</p><p><br></p><p>Thanks,</p><p>RPA Bot<br></p>' HtmlContent=> HtmlContent
END
How to copy/paste the above code into your PAD?

Thanks,
Deenuji Loganathan 👩💻
Automation Evangelist 🤖
Follow me on LinkedIn 👥
-------------------------------------------------------------------------------------------------------------
If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀