#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Range Copy

Hi,

I'd appreciate some help on copying Ranges.

I have a workbook that contains one sheet. I'd like to copy that
sheet, except the first three rows, to the second row (A2) in another
sheet in a different workbook.

I think I need something like:

....With the source sheet active...

Rows("1:3").Select
Selection.Delete Shift:=xlUp

wkbSource.Sheets(1).Range(UsedRange).Copy _
wkbTarget.Sheets("Timesheet Actuals").Range("A2")

but I think I've got the use of UsedRange wrong as this errors...!


TIA.

Jon C

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Range Copy

Forget it...... I should be shot for stupidity.....!

wkbSource.Sheets(1).Used*Range.Copy _

Jon C

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
RANGE EXCEL copy cell that meets criteria in a range confused Excel Worksheet Functions 3 March 27th 08 01:41 PM
copy range and paste into every 3rd cell of new range thomsonpa New Users to Excel 4 December 3rd 07 01:47 PM
How do I copy formulas but using the same range each time I copy Laffin Excel Worksheet Functions 2 June 22nd 06 04:17 PM
Code to copy range vs Copy Entire Worksheet - can't figure it out Mike Taylor Excel Programming 1 April 15th 04 08:34 PM
Range COPY function - how to copy VALUES and not formulas James Cooke Excel Programming 1 August 21st 03 07:04 PM


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