Opening CSV's as Text

GaryB

Active Member
Joined
Feb 25, 2002
Messages
459
Is there a way of forcing Excel to use the text file opening wizard to open a CSV file? The file I have is full of extraneous crud and dates written as YYYYMMDD that I can ignore or reformat if only I can get the wizard to kick in and open it as Fixed Width. Unfortunately I can't just rename the file to .txt (it's networked and nearly always in use by someone else) and, as it's usually about 25MB , I want to try and avoid opening it and resaving it as .txt before reopening it.

Thanks

GaryB
 
I wouldn't OPEN a CSV file. I would import it using either the legacy wizard or Link through PowerQuery. Both of these options allow for better control than just Opening a file.
PowerQuery is the more versatile of the two and provides better steps to follow as implemented. Any additional cleaning or corrections can be made before loading the data. ETL, Extract, Transform, Load.
Also, if files or an agregation of files is brought in by using PowerQuery, the data can be sent to the Datamodel instead of a worksheet allowing for millions of records to be imported and analyzed.
 
Upvote 0

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Forum statistics

Threads
1,223,980
Messages
6,175,764
Members
452,668
Latest member
mrider123

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