Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Find End of List

here are a couple different ways:

this will select the cell. it's not a good practice to select, but just used as
an illustration here.

range(worksheets("Sheet1").cells(rows.Count,"A").e nd(xlup).address).Select

or if you just want A5 returned:

lastcell = worksheets("Sheet1").cells(rows.Count,"A").end(xlu p).address(0,0)
--


Gary


"Joe Schmo" wrote in message
...
How do I find the cell address the end of a list. See list below. How to
find cell A5.

A1 Jim
A2 John
A3 Sally
A4 Sara
A5 Bill



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to find a value in a list that doesnt match another list Josh Johansen Excel Programming 3 June 21st 07 07:46 PM
How to find a find a list of possible inputs to sum a known amt? JimBunch Excel Discussion (Misc queries) 2 February 18th 06 05:17 PM
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 Ed Excel Worksheet Functions 5 September 12th 05 09:48 AM
How to find and list duplicate values in a list? Stefan[_6_] Excel Programming 1 May 14th 04 01:09 PM
How to find and list duplicate values in a list? Stefan[_6_] Excel Programming 1 May 14th 04 12:58 PM


All times are GMT +1. The time now is 06:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"