VBA code that will enter data into the next empty row from imported text file

C_merr

New Member
Joined
May 26, 2016
Messages
19
Every week I refresh a text CSV file into sheet 1 that has a different commodity for each row and many columns worth of data. I Then take some of the data from sheet 1 and copy it into the next available row (1 row per week) in sheet 2. Using a formula will not work because every time I refresh the Text file if I have the cells linked, the previous weeks will change to the most current data too. I am looking for a way to Take data from sheet 1 when it updates each week and place it into the next empty row in sheet 2 automatically. Is this possible?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
I will choose the row if it matches the commodity. for example, my sheet 2 is "wheat" and have multiple sheets for each different commodity. But i only use Columns H-O of data for the corresponding commodity.
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,011
Members
452,374
Latest member
keccles

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