Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default go to last record

What command will select the last record in a list?

Is there a way to include that command within a range?

ie: Range ("A1:(last record)").Select

Or better yet Range("A1:[last record]").AdvancedFilter...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default go to last record

Did you have problems using the answer to your other thread

Use a dynamic range name
http://www.contextures.com/xlNames01.html#Dynamic

This will expand the range if you add records


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"keyt" wrote in message ...
What command will select the last record in a list?

Is there a way to include that command within a range?

ie: Range ("A1:(last record)").Select

Or better yet Range("A1:[last record]").AdvancedFilter...



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default go to last record

Let me know if this will work...

Range("A1:" & ActiveSheet.Cells.SpecialCells
(xlCellTypeLastCell).Address).Select

-----Original Message-----
What command will select the last record in a list?

Is there a way to include that command within a range?

ie: Range ("A1:(last record)").Select

Or better yet Range("A1:[last record]").AdvancedFilter...
.

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
I need to have a record number change for every record Puget Sound Courier Service Excel Discussion (Misc queries) 1 July 12th 09 03:32 PM
Open new record with selected fields from previous record Design by Sue Excel Discussion (Misc queries) 1 June 12th 09 02:24 PM
put each record on a new sheet sol Excel Discussion (Misc queries) 2 January 1st 09 04:21 AM
Alt + Record Celestial Body Excel Discussion (Misc queries) 1 December 1st 08 07:50 AM
Need help autopopulating next new record with previous record data Harry S[_3_] Excel Programming 2 October 1st 03 10:59 PM


All times are GMT +1. The time now is 12:00 PM.

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"