Append Cell Content to a New Line in another Workbook

AndrewTrevayne

New Member
Joined
Jul 27, 2013
Messages
8
Hi everyone,
I was hoping if anyone could help me.
I am trying to figure out a vba that can append data input from one of my Excel Workbook into a new line of another Workbook.
Basically I have 2 Excel documents, the 1st one is where I key-in the data. The 2nd one is where I want these data to be recorded.
I tried recording a Macro however instead of adding a new line for each new record, it just overwrites the previous entry on the target workbook.

I have attached the 2 Excel Files, I am storing these 2 documents on "C:\Temp" location on my hard drive.
My files are:
Source = C:\Temp\Input.xls
Target = C:\Temp\Target.xls


On the Input.xls
HeadingHeading
NameBruce Wayne
AddressGotham city
Telephone666666666
SUBMIT BUTTON

<tbody>
</tbody>



On the Target.xls

NameAddressTelephone
Clark KentSmallville999999999
Oliver QueenStarcity888888888

<tbody>
</tbody>



On this example, I'd like to insert the entry on the Input.xls to the last record of Target.xls
Can this be done? Would really appreciate any help. Thanks in advance.​
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,215,388
Messages
6,124,648
Members
449,177
Latest member
Sousanna Aristiadou

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