Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default Finding the last cell in a series

How do you find the last cell in a series i.e. in a column? I have heard that
there is a simple command that does it but I dont know what it is. Please
help me!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Finding the last cell in a series

Dim lastCell as Range
Dim col as Long

Col = 5
Set lastcell = Cells(rows.count,col).end(xlup)

msgbox "Last used cell in column E is " & lastcell.Address

--
Regards,
Tom Ogilvy


"Arne Hegefors" wrote:

How do you find the last cell in a series i.e. in a column? I have heard that
there is a simple command that does it but I dont know what it is. Please
help me!

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
Finding next number in a series Iriemon Excel Worksheet Functions 2 May 12th 10 09:11 PM
Finding series index if I know the Series Name Barb Reinhardt Charts and Charting in Excel 2 January 23rd 07 01:01 PM
finding chart series low Paul Excel Programming 3 May 23rd 06 01:45 AM
Finding a series of values within an Array [email protected] Excel Programming 3 September 1st 04 09:05 PM
Finding a series of values within an Array [email protected] Excel Programming 1 September 1st 04 08:13 PM


All times are GMT +1. The time now is 03:22 AM.

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

About Us

"It's about Microsoft Excel"