LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Range question

Is it possible to select a range that spans the row right before the
last used row through the last row. I have a table with info that
spans columns A through S. I am wanting to be able to select the last
two rows for colmns A:S to do some formatting. I thought it would look
something liek this, but it keeps showing up as incorrect. i am quite
sure how to write it. I would appreciate any help.

Here is what I have that I know is not quite right.

Range(("A" & Rows.Count - 1):"S" & Rows.Count).Select

 
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
Range Question DejaVu[_11_] Excel Programming 2 June 8th 05 08:24 PM
Range Question / error 1004: method Range of object Worksheet has failed Paul Excel Programming 3 April 7th 05 02:56 PM
Range question mnewnam[_2_] Excel Programming 0 October 28th 04 07:28 PM
Range question mnewnam Excel Programming 0 October 28th 04 06:51 PM
Range.Formula and Range question using Excel Automation [email protected] Excel Programming 0 September 19th 03 04:53 AM


All times are GMT +1. The time now is 01:26 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"