copy contents from one excel file to another excel file

Status
Not open for further replies.

vishalvijayan

Board Regular
Joined
Dec 30, 2010
Messages
87
Hello,

I have two excel file A and B. I want to copy the contents of excel file B to excel file A.

The format of excel file A is as below

ABCD
1/72/7
SunMon
Emp Name
In
Out
SS
Late/Early
W.H.

<TBODY>
</TBODY>

The format of the table in excel file B is as follows -


ABCDEFGH
Emp No.Emp NameShiftInOutLateWork HourRemark

<TBODY>
</TBODY>


Now daily I retrieve report from attendance software in the excel file B format. I want to know how can I copy the contents of excel file B to the format in excel file A.


For example - , excel file B-cell C2 --->excel file A - cell C6,
excel file B-cell D2 --->excel file A - cell C4,
excel file B-cell E2 --->excel file A - cell C5,
excel file B-cell F2 --->excel file A - cell C7,
excel file B-cell G2 --->excel file A - cell C8,
excel file B-cell H2 --->excel file A - cell C3,

This should be as per the date, as I take report on daily basis.
Please guide me on how do the above.

Thank you
Vishal
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Status
Not open for further replies.

Forum statistics

Threads
1,211,985
Messages
6,105,221
Members
447,957
Latest member
Basildon

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