i need some help over here to read each row value and column to be copied over to a original list of excel sheet.
example, i would need to copy values from B2:E9 based on the screenshots and each row going to copy and paste into a file that holds monthly original list… meaning i would received a daily report in excel A file consisting of header 1 to 4 values and i would like to make the UiPath to copy and paste the daily report to a original listing which going to compound into monthly listing.
however, based on my flow i only managed to get the first row value and the flows stopped and it does not copied over to the original list and to move to the next row(completed row B but not moving to row C and closed the flows)
Instead of Creating a new variable ColCounter for incrementing you can declare a variable in For Each row properties Index, that will act as your Counter
the headers are the same in both files, however the daily report rows is dynamic and it could in range from 5-20 rows in the daily report. can the append range work for this ? i tested at my file and the cell range is hard coded.
Change “Sheet1” into your sheet name but leave Range(“”) to be the same
it will read all column and row and save to DailyReportData
then we use append to set all row of Daily Report into monthly Report by next available slot
i follow your code and use it on my script, the code giving me this error showing “Invoke Code:Exception has been thrown by the target of an invocation.”
while i run your example shared with me, and i dont have this error message
TodayDT might not get a correct type of data or maybe inside of invoke code is not right
Can you debug and check if it pass ‘TodayDT’ datatype or data to invoke code correctly or not?
First we read range into “DT_Daily”(assume this is my workflow) then .AsEnum.skip will skip first 3 row(work like delete first 3 row) then copy to “DT_Daily” as datatable(Just like after modify data we copy into same variable datatable)
if you have change your variable name into TodayDT please also change “DT_Daily” to “TodayDT”
Just like this