Need VBA code and can't find one that works

KA3PMW

New Member
Joined
Jul 25, 2016
Messages
46
I am trying to import a CSV file into a work sheet. The file has varying length as it is created from a worksheet. The name of the file is Spotters.csv and the sheet in the workbook is named Spotters. I have searched the web for a solution and the only answer I can find loads the first line of the file an infinite number of times into the sheet. Currently the csv file has 256 lines in it but this number constantly changes as new entries are made.

Thanking you in advance for your answers.
 
Load it to the PQ editor and then Close and Load to the specific sheet and cell location you wish and name that sheet as needed. Suggest you post your sample csv to a third part location such as box.net or dropbox.com and allow us to show you step by step. Otherwise, wait patiently for someone else to help you with a VBA solution.
 
Upvote 0

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,215,135
Messages
6,123,239
Members
449,093
Latest member
Vincent Khandagale

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