

I know about "armoring" the numbers with quotes, too, but the files I get don't come like that and I was hoping to avoid having to pre-process the files so Excel doesn't screw them up. Since every answer for this oft-asked question on the internet suggests either some means of converting the formatted numbers back once the file is open (which won't work for me - I want to solve the general problem, not a few specific cases) or manually selecting the format type of each column (which I don't want to do), I'm looking for a way to set a global preference or style such that all columns of all CSV files opened are always formatted as text. For files with 50-60 columns, this is impractical. csv and use the import wizard to specify the format of each column individually. As far as I can tell, the only way to prevent this from happening on import is to rename the file so the extension isn't. When I do, it formats columns containing numbers, which makes them useless for my purposes.

Please note that the "Page Layout" settings location varies in different version of Ms Excel.Though I try to avoid it, I occasionally have to open a CSV file in Excel.

The other layout setting seem to respond well to Confluence file preview, such as:

Upon uploading to confluence, the columns will be truncated and will be displayed as below: This article contain instructions on how to change the display of excel files in confluence File Preview / light box, mainly because by default, confluence file preview will truncate excel files with wide columns/ excel files with huge number of columns.įor example, below is a sample excel file with a huge number of columns:
