How to use macro to copy data from workfile A to workfile B [Closed]

Report
Posts
1
Registration date
Thursday August 13, 2015
Status
Member
Last seen
October 4, 2015
-
 Sad -
Hi,

COuld you please advise me how can I use macro coding to copy data from workfile A to workfile B? Example details :-

Source data copy from:-
'File name:WorkfileA
'Sheet name: InboundRecord
'Range:A2:Z2 to Selection.End(xlDown)).Select

Paste to :
'File name:WorkfileB
'Sheet name: Inventory
'Range:A:Z & Rows.Count).End(xlUp).Offset(1).PasteSpecial Paste:=xlPasteValues

Hope to get your kind advise. :)

1 reply

Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
768
Many ways
on ways would be to set the workbook to variables

and then u can use reference to those workbooks
Issue unsolved

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!