Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Defining a range

How do I select a range defined as the currently-selected cell to a cell a
specified number of cells away, both vertically and horizontally?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Defining a range

I'm not sure how you will want to specify the new cell's coordinates, so
I'll leave the method and math to you; however, you would use something like
this...

ActiveCell.Resize(5, 3).Select

When executed, the Selection will start with the ActiveCell and be 5 rows
deep by 3 columns across.

Rick


"JDBAZ" wrote in message
...
How do I select a range defined as the currently-selected cell to a cell a
specified number of cells away, both vertically and horizontally?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Defining a range

Thank you.
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
defining a range [email protected] Excel Programming 2 March 18th 08 03:14 PM
Defining a range in vba???? Please help Need Help Fast![_2_] Excel Programming 2 March 19th 07 07:55 PM
Defining series range for named range Barb Reinhardt Excel Programming 1 August 3rd 06 09:00 PM
defining a range Stefi Excel Programming 2 July 20th 06 09:18 AM
Defining range Edgar[_3_] Excel Programming 2 February 17th 04 02:24 PM


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