Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy range to range

Status
Not open for further replies.

neemi

Programmer
May 14, 2002
519
GB
I am trying to copy a range of data from one worksheet in a workbook to another worksheet in another workbook and it doesn't work!! Is it possible to do this?
What am I doing wrong!!

I am trying to rewrite a copy and paste as am not keen on them!!
Please help..

My code is as follows:
Code:
With pwbkInput.Worksheets(1)

Application.Workbooks(1).Worksheets(1).Range("A4:I22"= .Range("B5:J21"))

etc
etc
 
Perhaps this ?
pwbkInput.Worksheets(1).Range("B5:J21").Copy Application.Workbooks(1).Worksheets(1).Range("A4:I20")

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top