PC Review


Reply
Thread Tools Rate Thread

From active cell, select the next 10 rows down, 6 columns over.

 
 
J.W. Aldridge
Guest
Posts: n/a
 
      6th May 2009
From active cell, select the next 10 rows down, 6 columns over.
 
Reply With Quote
 
 
 
 
Jacob Skaria
Guest
Posts: n/a
 
      6th May 2009
Range(Cells(activecell.Row,activecell.Column),
Cells(activecell.Row+10,activecell.Column+6)).select

If this post helps click Yes
---------------
Jacob Skaria


"J.W. Aldridge" wrote:

> From active cell, select the next 10 rows down, 6 columns over.
>

 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      6th May 2009
Range(Cells(activecell.Row,activecell.Column),
Cells(activecell.Row+10,activecell.Column+6)).select

--
If this post helps click Yes
---------------
Jacob Skaria


"J.W. Aldridge" wrote:

> From active cell, select the next 10 rows down, 6 columns over.
>

 
Reply With Quote
 
J.W. Aldridge
Guest
Posts: n/a
 
      6th May 2009
Mr. Jacob, that didn't work...
 
Reply With Quote
 
Rick Rothstein
Guest
Posts: n/a
 
      6th May 2009
It is not entirely clear from your question whether you want the
ActiveCell's row and column included in the new selection or not. If you
want them included...

ActiveCell.Resize(11, 7).Select

Note the 11 and 7 are your 10 and 6 plus one each. If you don't want them
included...

ActiveCell.Offset(1, 1).Resize(10, 6).Select

In any event... the Offset and Resize properties are the one's you will want
to play with.

--
Rick (MVP - Excel)


"J.W. Aldridge" <(E-Mail Removed)> wrote in message
news:6cc35d8c-8266-4379-8f96-(E-Mail Removed)...
> From active cell, select the next 10 rows down, 6 columns over.


 
Reply With Quote
 
J.W. Aldridge
Guest
Posts: n/a
 
      6th May 2009
thanx...

wanted to select the entire range, so the first one worked.

 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      6th May 2009
Try this.....it was too long...

Range(Cells(ActiveCell.Row, ActiveCell.Column), _
Cells(ActiveCell.Row + 10, ActiveCell.Column + 6)).Select


If this post helps click Yes
---------------
Jacob Skaria


"J.W. Aldridge" wrote:

> Mr. Jacob, that didn't work...
>

 
Reply With Quote
 
Rick Rothstein
Guest
Posts: n/a
 
      6th May 2009
This is much easier to do using the Resize property of the Range object (the
ActiveCell in this case)...

ActiveCell.Resize(11, 7).Select

where the 11 and 7 are one more than the number of rows and columns to add
(the one being so that the 10 and 6 are in addition to the ActiveCell's row
and column).

--
Rick (MVP - Excel)


"Jacob Skaria" <(E-Mail Removed)> wrote in message
news:3E43EF90-D8E8-4BEC-A14A-(E-Mail Removed)...
> Try this.....it was too long...
>
> Range(Cells(ActiveCell.Row, ActiveCell.Column), _
> Cells(ActiveCell.Row + 10, ActiveCell.Column + 6)).Select
>
>
> If this post helps click Yes
> ---------------
> Jacob Skaria
>
>
> "J.W. Aldridge" wrote:
>
>> Mr. Jacob, that didn't work...
>>


 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      6th May 2009
Thanks Rick..

If this post helps click Yes
---------------
Jacob Skaria


"Rick Rothstein" wrote:

> This is much easier to do using the Resize property of the Range object (the
> ActiveCell in this case)...
>
> ActiveCell.Resize(11, 7).Select
>
> where the 11 and 7 are one more than the number of rows and columns to add
> (the one being so that the 10 and 6 are in addition to the ActiveCell's row
> and column).
>
> --
> Rick (MVP - Excel)
>
>
> "Jacob Skaria" <(E-Mail Removed)> wrote in message
> news:3E43EF90-D8E8-4BEC-A14A-(E-Mail Removed)...
> > Try this.....it was too long...
> >
> > Range(Cells(ActiveCell.Row, ActiveCell.Column), _
> > Cells(ActiveCell.Row + 10, ActiveCell.Column + 6)).Select
> >
> >
> > If this post helps click Yes
> > ---------------
> > Jacob Skaria
> >
> >
> > "J.W. Aldridge" wrote:
> >
> >> Mr. Jacob, that didn't work...
> >>

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Row select mode to highlight active row of active cell Bart Fay Microsoft Excel Misc 0 11th May 2010 09:34 PM
I cant select rows or columns cp402 Microsoft Excel Misc 0 6th Apr 2010 08:17 PM
How select active rows from A to D columns? ldiaz Microsoft Excel Misc 2 2nd Oct 2008 04:36 PM
Select columns of active cell's row Cumberland Microsoft Excel Programming 3 28th Jun 2006 12:13 PM
Re: Select a range of columns based on active cell Tom Ogilvy Microsoft Excel Programming 0 10th Nov 2003 05:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:13 PM.