I want to copy Output file data from column A to CA & paste in Dash excel file from A to CA column. In Dash file other column data from CB I want as it is, can u do this?
Follow the below steps to copy the A:CA range from Output Excel file and paste it in Dash excel file in A:CA range,
→ Use the Excel Process scope activity inside of it insert the Use excel file activity and give the path of the Output Excel file.
→ Inside Use excel file activity insert the Find First\Last row activity, and give the below parameters.
- Source - OutputExcel.Sheet("Sheet1")
- Check the Has Headers option
- Column name - "SR"
- Select the Last populated row from the Configure Last row as dropdown
- Save last row number as - Create a variable in the field called LastRowValue
→ After Find First\Last row activity insert the Use the another Use excel file activity and give the path of the Dash excel file.
→ Inside the second use excel file activity insert the Copy\Paste range activity and give the below parameters,
- Source - OutputExcel.Sheet("Sheet1").Range("A1:CA"+LastRowValue.ToString)
- Destination - DashExcel.Sheet("Base file - Claims").Range("A1:CA"+LastRowValue.ToString)
- Select the All from the first dropdown.
Check the below workflow for better understanding, Sequence3.xaml (15.3 KB)