Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Copy and Paste Special Dynamic Range

Hi there,

I have a varying range say A2:E40 (E40 varies every week), I would like to
copy this varing range to the end of another varying range say H2:L40 (L40
varies every week) is this possible????

1. Assume there might be embedded blanks.


tia BigH


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 698
Default Copy and Paste Special Dynamic Range

Hi BigH,

Give this a try.

Sub RangyRange()
Dim Lrow As Long
Dim Drng As Range
Lrow = Cells(Rows.Count, "A").End(xlUp).Row
Set Drng = Range("A2:A" & Lrow)
Drng.Copy Range("L1500").End(xlUp).Offset(1, 0)
End Sub

HTH
Regards,
Howard

"BigH" wrote in message
...
Hi there,

I have a varying range say A2:E40 (E40 varies every week), I would like to
copy this varing range to the end of another varying range say H2:L40 (L40
varies every week) is this possible????

1. Assume there might be embedded blanks.


tia BigH



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
Can't Copy and Paste or Paste Special between Excel Workbooks wllee Excel Discussion (Misc queries) 5 April 29th 23 03:43 AM
Copy range in macro using paste special values Jeff Excel Discussion (Misc queries) 2 August 20th 07 08:12 PM
help w/ generic copy & paste/paste special routine DavidH[_2_] Excel Programming 5 January 23rd 06 03:58 AM
Dynamic Copy/Paste Special Formulas/Paste Special Values Sharon Perez Excel Programming 3 August 7th 04 09:49 PM
Select Range every 20 rows copy & paste special Adam Excel Programming 1 June 22nd 04 11:43 PM


All times are GMT +1. The time now is 01:49 AM.

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"