Copy flat file without format change in excel

jbesclapez

Active Member
Joined
Feb 6, 2010
Messages
275
Hi there!

I have a long flat file in which I will later use VBA to replace some stings with other strings.

I can not find a way how to import the flat file as is, in excel.
I mean, it should not touch anything or create any column. The source should not be changed even with quotes, double quotes, comma... any tab separation... etc...
it should simply clone the exact content of the flat file first line into cell A1, then do second line as cell A2.... etc...

How do we do this "simple" task?

Thansk
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
I think i got it working. It was too simple to be true :)... but when you do not know... you do not know...

Basically simple copy a character in cell A1 then Open the dialog box for TexttoCOlumns and disable all Delimiters.
Now you can copy your text format. It should be good!

Cheers

1627380775788.png
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

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