Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keep leading spaces in Excel

Status
Not open for further replies.

tkupfer

Programmer
Dec 18, 2002
14
0
0
US
I am distributing fields from a fixed-length input text file across cells in Excel via the TextToColumns method. Some values contain leading spaces that must be retained but appear to be dropped by the method. I don't want to put delimiters in the input file. Is there a way to retain leading spaces with this method, or is some other technique available? Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top