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: 4
Default extend selection

I have contiguous data starting in c5. The last row and
the number of columns is not known.

I can select the data cells with the following code:
Range(Selection, Selection.End(xlDown)).Select
Range(Selection, Selection.End(xlToRight)).Select

However, how do I extend this selection by one row.

Say that I have selected range C5:J14. How would I be able
to select C5:J15? I would like to extend the selection
without hardcoding it by one row so that I can get the row
totals.

Thanks for your help.
 
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
Limiting selection in a cell AND linking that selection to a list Lisa Excel Discussion (Misc queries) 1 July 28th 09 05:00 PM
Extend the numbers 1,2 to get 3,4,5,..... peter_sagg Excel Discussion (Misc queries) 2 May 26th 09 03:28 PM
Copy Selection - Transpose Selection - Delete Selection Uninvisible Excel Discussion (Misc queries) 2 October 23rd 07 04:18 PM
Extend Formula [email protected] Excel Discussion (Misc queries) 1 July 21st 06 01:15 AM
Extend formulas nc Excel Discussion (Misc queries) 2 September 26th 05 03:33 PM


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