Excelシートの上書きについて

「シートをコピー」アクティビティを使用して、
Excelのシートを上書きする方法はありますでしょうか?

コピー元:Main1
コピー先:Sheet1
コピー先のファイルパス:パス.xlsx
パス.xlsxにSheet1とMain1がある結果になります。
パス.xlsxのSheet1にMain1を上書きできますでしょうか?

Hi @k.m

You can use the Copy\Paste range activity to copy the data from the Main1 sheet and paste it in the Sheet1 in Path.xlsx file.

Follow the below steps for better understanding,
→ Use the Excel Process scope activity and insert the Use excel file activity inside it and give the Path of the Excel file in Use excel file activity.
→ Inside Use excel file activity insert the Copy\Paste range activity.
→ Give the Excel.Sheet(“Main1”) in the Source field.
→ Give the Excel.Sheet(“Sheet1”) in the destination field.

Yes, it overrides the data in the Sheet1.

Hope it helps!!

シート名は変更できますか?
Sheet1をMain1に変更したいです。
また、コピー元のMain1シートは別のExcelファイルのシートです。

You can change the sheet name by using Rename Sheet activity@k.m

But if the sheet already exist in Excel then you are not able to change the same name. Means In your case Main1 sheet already exist then you are not able to change Sheet1 to Main1.

Hope you understand!!

こんにちは

シートを上書くとはどのような状態をさしていますでしょうか?
状況によっては空欄含めて上書きされると、想定と異なるけ結果になるのではと思います。
もし可能なら入力と期待する出力のサンプルを共有いただけると良いかもしれません。