Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tim Tim is offline
external usenet poster
 
Posts: 408
Default Paste Small Range into Big Range

Howdy,

I have tow ranges, smallRange and bigRange. Both are dynamically named, 1
column wide and smallRange is always <= bigRange. I want to copy the
smallRange and paste it into bigRange, but when I do, the smallRange values
repeat until the bigRange is full.

For example if smallRange is numbered 1-10 and bigRange was 100 rows high,
the result of:
smallRange.copy Destination:=bigRange
gives 1-10, 10 times. IOW, the bigRange is filled with several iterations
of smallRange.

Any suggestions on how to prevent this?

Regards,
Tim
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default Paste Small Range into Big Range

Maybe you want this:

Range("smallRange").Copy Range("bigRange").Cells(1)

RBS

"tim" wrote in message
...
Howdy,

I have tow ranges, smallRange and bigRange. Both are dynamically named, 1
column wide and smallRange is always <= bigRange. I want to copy the
smallRange and paste it into bigRange, but when I do, the smallRange
values
repeat until the bigRange is full.

For example if smallRange is numbered 1-10 and bigRange was 100 rows high,
the result of:
smallRange.copy Destination:=bigRange
gives 1-10, 10 times. IOW, the bigRange is filled with several iterations
of smallRange.

Any suggestions on how to prevent this?

Regards,
Tim


  #3   Report Post  
Posted to microsoft.public.excel.programming
Tim Tim is offline
external usenet poster
 
Posts: 408
Default Paste Small Range into Big Range

RB,

Thanks for the tip, appears to do the trick.

Must have been too late, or early, depneding on your perspective...

Regards,
Tim

"RB Smissaert" wrote:

Maybe you want this:

Range("smallRange").Copy Range("bigRange").Cells(1)

RBS

"tim" wrote in message
...
Howdy,

I have tow ranges, smallRange and bigRange. Both are dynamically named, 1
column wide and smallRange is always <= bigRange. I want to copy the
smallRange and paste it into bigRange, but when I do, the smallRange
values
repeat until the bigRange is full.

For example if smallRange is numbered 1-10 and bigRange was 100 rows high,
the result of:
smallRange.copy Destination:=bigRange
gives 1-10, 10 times. IOW, the bigRange is filled with several iterations
of smallRange.

Any suggestions on how to prevent this?

Regards,
Tim



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
copy range and paste into every 3rd cell of new range thomsonpa New Users to Excel 4 December 3rd 07 01:47 PM
Use criteria for values in range for small function like2hike Excel Worksheet Functions 1 March 21st 06 04:09 PM
to group in small range, and count Carolina Excel Discussion (Misc queries) 1 December 5th 05 02:04 AM
Paste a named range to another range in Excel David Jean Excel Discussion (Misc queries) 2 April 13th 05 02:02 PM
range select not working with small sets Papa Jonah Excel Programming 0 November 18th 04 12:04 AM


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