---
title: "如何获取excel最大行"
author: "wandejun1012"
date: "2013-01-06T11:38:42Z"
tags: []
categories: ["编程语言"]
slug: "excel"
draft: false
lastmod: "2013-01-06T11:38:42Z"
id: 1763468
url: "https://wandejun1012.iteye.com/blog/1763468"
---

环境：Excel2007

 

法一：

```
introw=[a655536].end(xlup).row
```

 

 

 

法二：

```
usedrange.rows.count
```

 

refurl:http://club.excelhome.net/thread-676285-1-1.html