# Excelで""指定した列の""最終行を取得する方法

**URL:** <https://forum.uipath.com/t/excel/235938>\
**Category:** フォーラム\
**Tags:** question, studio, excel\
**Created:** [July 6, 2020, 6:08am UTC](https://forum.uipath.com/t/excel/235938 "2020-07-06T06:08:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Yoichi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yoichi/32/523754_2.png) [@Yoichi](https://forum.uipath.com/u/Yoichi)\
**Post date:** [July 6, 2020, 6:49am UTC](https://forum.uipath.com/t/excel/235938/3 "2020-07-06T06:49:48Z")

</div>

こんにちは

列を読み込みアクティビティを使うと、当該列が`IEnumerable<object>`型で返ってきますので、これの要素数をCountメソッドでとってあげると、最終行を把握することが可能と思います。

---

_[View the full topic](https://forum.uipath.com/t/excel/235938)._
