Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get the row count for multiple columns in Excel

Status
Not open for further replies.

Jcan

Programmer
Jul 16, 2001
25
US
Hi everyone, i have a small problem.
I wish to populate two combo boxes from two lists in the (A) and (B) column in excel. I can get the row count for column A but I can't get seem to get the correct row count for the second column. My statement look like this:

rowACount = currentsheet.range("A1").currentregion.rows.count

For some reason this doesn't work for any other column. Please help.


Jcan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top