I have an excel spreadsheet with 5 columns namely ABCDE. CDE columns should be updated with the data taken from table1 and AB should be updated data taken from table2 from the email body.
However, when I am taking an email saved in one of the folder… It reads only first email as the subject line is being updated on the datatable (Target : Strict Target Selector) which I have extracted within the “Extract Table Data”. its not further moving with other emails even though the subject line matches
I have emails with subject line as “Alter” in my mailbox within a folder called as “Events”
BOT should go to each and every email in the folder and extract bot of the tables and paste the same in excel in a desired format.
Format has been mentioned in above picture for table 1 & 2 in email as how it will be updated by the user.
This data or table (both) to be taken from the each email in the folder and paste it in the Excel spreadsheet saved in the X drive with format as mentioned in the above picture ( Refer Output ).
P.S : All emails in the folder will have similar table and data would be different for every email. However, this needs to be checked at a later stage to understand if there duplicate data the same needs to be removed.
1.Use Desktop Outlook App
2. For Each Email
3. Extract Datatable - Saves as DT1
4. Extract Datatable - Saves as DT2
5. Use Excel File
6. Write Datatable to Excel for DT1
7. Write Datatable to Excel for DT2
It writes DT1 and when it comes to DT2 it pastes somewhere else even though I have given a cell reference.
Also, in the DT2 I dont need Information & Status, I just need XYZ value and 223345 value to be pasted across A & B column considering the last updated row in C column based on DT1 Data.
I have tried append data and find first and last row… Nothing is actually working out in my way
@LAKSHMI_NARAYANA_PEMMASAN Above steps did not help me in resolving the issue which I am facing in Studio X… Due to restrictions I cannot switch over Modern or classic view within Studio X
I am trying with First DT1 to get this data pasted for every email in Excel by finding last row… However, as this is not working out… I haven’t moved to the next step of taking DT2 and pasting it in Excel.
I will give a try with your solution and will update you shortly.
Main Issue is finding a lastrow in a specific column from the excel workbook … If this is getting solved I believe other issues can be managed @LAKSHMI_NARAYANA_PEMMASAN