Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default Selecting Contiguous Ranges on a Sheet

How do you select the contiguous rangs in a spreadsheet? I seem to remeber
that you can select the entire sheet by going:

Cells().Select

I know Cells() has an Area property but
Cells().Areas.Select

does not work.

Thanks

EM
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Selecting Contiguous Ranges on a Sheet

What are you meaning when you say the contiguous ranges?

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"ExcelMonkey" wrote in message
...
How do you select the contiguous rangs in a spreadsheet? I seem to
remeber
that you can select the entire sheet by going:

Cells().Select

I know Cells() has an Area property but
Cells().Areas.Select

does not work.

Thanks

EM



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 342
Default Selecting Contiguous Ranges on a Sheet

I have used the phrase "Range("a1").CurrentRegion". It sounds like that
might be what you are looking for.

"ExcelMonkey" wrote:

How do you select the contiguous rangs in a spreadsheet? I seem to remeber
that you can select the entire sheet by going:

Cells().Select

I know Cells() has an Area property but
Cells().Areas.Select

does not work.

Thanks

EM

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 342
Default Selecting Contiguous Ranges on a Sheet

Maybe what you are looking for is "Range("A1").CurrentRegion". Of course you
can change the address of the range for which you are looking.

"ExcelMonkey" wrote:

How do you select the contiguous rangs in a spreadsheet? I seem to remeber
that you can select the entire sheet by going:

Cells().Select

I know Cells() has an Area property but
Cells().Areas.Select

does not work.

Thanks

EM

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default Selecting Contiguous Ranges on a Sheet

Sorry Bob, I was vague. I want the ability to select all the non-contiguous
ranges on a worksheet. I said contiguous by accident. I seem to remember
that this is actually very easy to do. I just cant remember how to do it.

Thanks

EM

"Bob Phillips" wrote:

What are you meaning when you say the contiguous ranges?

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"ExcelMonkey" wrote in message
...
How do you select the contiguous rangs in a spreadsheet? I seem to
remeber
that you can select the entire sheet by going:

Cells().Select

I know Cells() has an Area property but
Cells().Areas.Select

does not work.

Thanks

EM






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Selecting Contiguous Ranges on a Sheet

Same question, just non-contiguous.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"ExcelMonkey" wrote in message
...
Sorry Bob, I was vague. I want the ability to select all the
non-contiguous
ranges on a worksheet. I said contiguous by accident. I seem to remember
that this is actually very easy to do. I just cant remember how to do it.

Thanks

EM

"Bob Phillips" wrote:

What are you meaning when you say the contiguous ranges?

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"ExcelMonkey" wrote in message
...
How do you select the contiguous rangs in a spreadsheet? I seem to
remeber
that you can select the entire sheet by going:

Cells().Select

I know Cells() has an Area property but
Cells().Areas.Select

does not work.

Thanks

EM






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
automatically selecting contiguous cells - Why? becder New Users to Excel 5 March 16th 10 05:59 PM
selecting non-contiguous cells facinadr Excel Discussion (Misc queries) 1 February 1st 10 10:09 PM
Selecting a group of contiguous rows jfg Excel Discussion (Misc queries) 1 August 7th 07 06:34 AM
selecting non-contiguous blocks of cells in vb rockhammer Excel Programming 1 June 19th 07 10:33 PM
Selecting a contiguous row of cells [email protected] Excel Discussion (Misc queries) 1 March 23rd 07 08:06 PM


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