VBA Copying data from workbook to another

ziad alsayed

Well-known Member
Joined
Jul 17, 2010
Messages
665
dear all

i have two workbooks. the first is named data and the second is named study

the data workbook has two sheets the first is named "phdata" and the second is named "apapadata". both has the same format . each include month ( jan till dec) starting from B1 till M1
i need to move th date in each worksheets starting from B2 to M2 to the study workbook.
the study workbook has also two sheets the first is "phstudy" and the second is "apapastudy" . they also has the same format like the data workbook

what is need to do is to copy the data from the data workbook to the study workbook, it means from the sheet "phdata" to the Sheet "phstudy" and from the sheet "apapadata" to "apapastudy"
in summary both workbook has the same format.

apprceciate any assistance.

below is what is have in the data workbook and need to move sheet by sheet to the study workbook
Excel Workbook
H
5
phdata
Excel 2010
Excel Workbook
G
3
ApapaData
Excel 2010
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,224,583
Messages
6,179,673
Members
452,937
Latest member
Bhg1984

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top