Hi, how do I use the Excel Append Range activity and include column headers if it does not exist? I am creating the Excel file from a data table with named columns
I don’t see an option to include headers here
Hi, how do I use the Excel Append Range activity and include column headers if it does not exist? I am creating the Excel file from a data table with named columns
I don’t see an option to include headers here
HI @DEATHFISH
How about a solution like this…
Dt_ExcelRead.Rows.Count = 0
In case the above condition returns false, that means the excel has more than zero records (basically it has records), then under Then segment of the IF condition, you can use the Append Range to add the new data. In this logic, you will not want to worry about the header because it will be handed by the write range activity…
Hope it helps!!!
Thanks
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.