ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How keep Leading/Trailing spaces when save in Excel? (https://www.excelbanter.com/excel-discussion-misc-queries/102549-how-keep-leading-trailing-spaces-when-save-excel.html)

jorgejulio

How keep Leading/Trailing spaces when save in Excel?
 

How keep Leading/Trailing spaces when save in Excel? I have values with
leading and trailing spaces in Excel cells, file is .CSV(Comma-Separated
values) format.

Example values within cells a
"10A "
" 6B "
" 5A 3C"

When I save the above in Excel it removes leading and trailing spaces,
is there a way to tell Excel to keep these? I have tried Cell Format =
"Text" (show as user-entered) but this still removes the
leading/trailing spaces!


--
jorgejulio
------------------------------------------------------------------------
jorgejulio's Profile: http://www.excelforum.com/member.php...o&userid=36999
View this thread: http://www.excelforum.com/showthread...hreadid=567220



All times are GMT +1. The time now is 03:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com