Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
VB Macro to Copy from Worksheet
Hello all,
Please help. I would like to create a macro to copy a range of values from Worksheet1 in "Excel File A" to a Worksheet2 in "Excel File B". Any ideas??? Thanx for your help. Regards -- KCG |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
VB Macro to Copy from Worksheet
One way:
With Workbooks("Excel File A.xls").Worksheets( _ "Worksheet1").Range("A1:J10") Workbooks("Excel File B.xls").Worksheets( _ "Worksheet2").Range("A1").Resize( _ .Rows.Count, .Columns.Count).Value = .Value End With In article , KCG wrote: I would like to create a macro to copy a range of values from Worksheet1 in "Excel File A" to a Worksheet2 in "Excel File B". Any ideas??? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro to copy worksheet | Excel Discussion (Misc queries) | |||
macro to copy worksheet | Excel Worksheet Functions | |||
create a macro to copy a worksheet into another | Excel Discussion (Misc queries) | |||
I need help with a macro which will copy a worksheet and.. | Excel Worksheet Functions | |||
macro to copy and edit then delete a worksheet | Excel Discussion (Misc queries) |