I opened semicolon delimited txt file with this code below and long account number showed up as scientific notation after saving to excel regardless of formatting to text that c
It looks like you are using a text file as an input. Steps:
- Go to cell A1
- File -> Open -> select the .txt file -> Open
- Text Import Wizard will open. Go through steps 1, and 2 according to your input file format. For step three, do this:
- Use the mouse to select the column that gives you the headache, long account numbers, in your case. Under 'Column data format' select the 'Text' radio button, then, click Finish.
You will be good to go.