Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default Creating Contigous Range from two ranges

I have two ranges:
$A$1 and $A$10

How do I bring them together to become a contiguous range. Union will create:

A1, A10

I want A1:A10.

Thanks

EM



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Creating Contigous Range from two ranges

Try

Set myrange = Range("A1:A10")

Mike

"ExcelMonkey" wrote:

I have two ranges:
$A$1 and $A$10

How do I bring them together to become a contiguous range. Union will create:

A1, A10

I want A1:A10.

Thanks

EM



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default Creating Contigous Range from two ranges

Yeah thats it. I got my wires crossed and assumed it was more difficult than
that.

Thanks

EM

"Mike H" wrote:

Try

Set myrange = Range("A1:A10")

Mike

"ExcelMonkey" wrote:

I have two ranges:
$A$1 and $A$10

How do I bring them together to become a contiguous range. Union will create:

A1, A10

I want A1:A10.

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
Dynamically creating Non-Contigous Ranges [email protected] Excel Programming 1 September 18th 06 02:52 AM
Creating a Range from two specified Ranges PeterWilliams Excel Programming 1 May 18th 06 11:56 PM
ListBox with non contigous columns François Excel Programming 1 March 22nd 06 03:00 PM
XIRR with non contigous cells topola Excel Worksheet Functions 2 November 22nd 05 08:26 AM


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