Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 349
Default range().select function in a macro

In a macro, how do you select a range of cells relative to the current
position.
i.e. range(RC,[R+1C+8]).select <=tried this but does not work

Selecting from current row and column position, to the next rox, and next 8
columns.
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 272
Default range().select function in a macro

ActiveCell.Resize(2,8).Select

--
Charles Chickering

"A good example is twice the value of good advice."


"Peter" wrote:

In a macro, how do you select a range of cells relative to the current
position.
i.e. range(RC,[R+1C+8]).select <=tried this but does not work

Selecting from current row and column position, to the next rox, and next 8
columns.
Thanks

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
Select range in macro Chris Excel Discussion (Misc queries) 1 February 19th 10 01:33 PM
How do I use a macro to select a range? Tom Ogilvy Excel Programming 0 January 4th 07 03:27 AM
select a range in a macro Andrew Excel Discussion (Misc queries) 3 May 10th 06 08:45 PM
Select.Range function in VB IF statements? lykwid[_3_] Excel Programming 2 January 24th 04 12:08 PM
When you select a range with a macro Patrick[_6_] Excel Programming 2 December 2nd 03 08:26 AM


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