Macro? Copy last row from another file to one that is opened

wickitom

New Member
Joined
May 21, 2010
Messages
16
I am running a program that spits out a excel file (*.csv). The file contains one worksheet with bunch of columns any many rows. I would need to open that file find the last row and copy the data to another excel file and then rerun the program and copy and paste all over.

I am trying to find a macro on the web that will automate this process for me. I don't know anything about creating macros.

I would like a macro or button that whenever I run the macro will copy the last row of data from another file to the one currently active. Whenever I run the macro again, it will copy and paste again into a new row.

I been searching but I couldn't get anything to work.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
If all your files are in one folder you can use a macro to open each file, copy the data and close the file again. Are all workbooks laid out the same wrt sheet names etc. A bit more info required to help more.
 
Upvote 0

Forum statistics

Threads
1,223,237
Messages
6,170,928
Members
452,366
Latest member
TePunaBloke

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