# Excelの可視セルのみをコピーしたいです

**URL:** <https://forum.uipath.com/t/excel/747300>\
**Category:** フォーラム\
**Tags:** studio, excel\
**Created:** [June 13, 2024, 8:24am UTC](https://forum.uipath.com/t/excel/747300 "2024-06-13T08:24:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![m-minami](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/m-minami/32/514428_2.png) [@m-minami](https://forum.uipath.com/u/m-minami)\
**Post date:** [June 13, 2024, 8:24am UTC](https://forum.uipath.com/t/excel/747300/1 "2024-06-13T08:24:19Z")

</div>

シートの中で列が非表示になっているデータでオートフィルターをかけた状態で見えている部分だけをコピーして違うシートに貼り付けたいのですが、行数が多く「Alt+; Ctrl+c Ctrl＋ｖ」の方法ではコピーするだけで時間がかかってしまうため他の方法が無いか探しています。  
UiPathのアクティビティだけで処理する方法は無いでしょうか？

---

<div class="post-metadata">

**Author:** ![mkankatala](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/mkankatala/32/484097_2.png) [@mkankatala](https://forum.uipath.com/u/mkankatala)\
**Post date:** [June 13, 2024, 8:29am UTC](https://forum.uipath.com/t/excel/747300/2 "2024-06-13T08:29:36Z")

</div>

Hi @m-minami

You can achieve it by using the Excel activities.  
 → Use the Excel Process scope activity, inside of it insert the Use excel file activity and give the path of the file.  
 → Inside Use excel file activity insert the Copy\Paste range activity to copy the range of data and paste it where you want.

Hope it helps!!

---

<div class="post-metadata">

**Author:** ![m-minami](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/m-minami/32/514428_2.png) [@m-minami](https://forum.uipath.com/u/m-minami)\
**Post date:** [June 14, 2024, 2:33am UTC](https://forum.uipath.com/t/excel/747300/3 "2024-06-14T02:33:14Z")

</div>

ご教示いただきありがとうございます。  
私が使用しているバージョンでは、ExcelCopyPasteRange（範囲をコピー）のアクティビティですね。  
初めて使うアクティビティなのでオプションの「コピーする内容」はどれを選択すれば良いのかなど教えていただけると嬉しいです。  
 ![image](https://global.discourse-cdn.com/uipath/original/4X/c/0/3/c0341065c3d95ec930512b66cba5bfbb97793fd2.png)

コピー先のスプレッドシートの「対象シート」は、ファイルパスは不要でしょうか？  
また、入力の「元の範囲」には始まりと終わりのセルを設定すれば非表示の列などは含めずにコピーできるのでしょうか？

 ![image](https://global.discourse-cdn.com/uipath/original/4X/6/c/5/6c5d17a9798a16ee442fa8c3030bbe72442c1a63.png)

上記、自分でも試してみようと思いますが、ご教示いただけますと幸いです。

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [June 14, 2024, 7:33am UTC](https://forum.uipath.com/t/excel/747300/4 "2024-06-14T07:33:42Z")

</div>

@m-minami

Use read range with use filter option…it would read only visible

> **[Activities - Read Range](https://docs.uipath.com/activities/other/latest/productivity/excel-read-range)**
>
> The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...

Then write the range

Cheers
