Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i see that this will copy a range from one sheet to another in the same
workbook rng.Copy Destination:=Worksheets("Sheet3").Range("A1") now, how to you adapt this if sheet3 is in another workbook that is open? -- Gary |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try:
rng.Copy Destination:=Workbooks("Bk2.xls").Sheets("Sheet3") .Range("A1") Hope this helps Rowan Gary Keramidas wrote: i see that this will copy a range from one sheet to another in the same workbook rng.Copy Destination:=Worksheets("Sheet3").Range("A1") now, how to you adapt this if sheet3 is in another workbook that is open? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
think i got it. file2 is a variable i set
=Workbooks(File2).Worksheets("Sheet1").Range("A1") -- Gary "Gary Keramidas" wrote in message ... i see that this will copy a range from one sheet to another in the same workbook rng.Copy Destination:=Worksheets("Sheet3").Range("A1") now, how to you adapt this if sheet3 is in another workbook that is open? -- Gary |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
RANGE EXCEL copy cell that meets criteria in a range | Excel Worksheet Functions | |||
Create/copy combo boxes in one range if condition is met in a different range | Excel Programming | |||
Range Question / error 1004: method Range of object Worksheet has failed | Excel Programming | |||
Code to copy range vs Copy Entire Worksheet - can't figure it out | Excel Programming | |||
Range COPY function - how to copy VALUES and not formulas | Excel Programming |