It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Odd Formatting for previewing Excel Files

When we try to preview a file in excel, instead of it being in an excel format, it's a PDF with the words spaced out. I uploaded a testfile to use as an example. Is there any way to correct this to look more like an excel sheet and/or automatically have it reroute to excel online to correct this?

ExcePreviewError .PNG

2 answers

0 votes
Diego Atlassian Team Apr 17, 2020

Hello @AJohnson !

As I understand, you need the image preview generated by Confluence to look more like a “real” Excel Spreadsheet.


Let me start by first saying that the preview will display visual settings added when we save the file.

For example, if we save the file and add borders to our table cells, the defined border will show up. Here is an example:

Screen Shot 2020-04-17 at 14.45.36.png

If we define no cell border, no border will be shown:

Screen Shot 2020-04-17 at 14.46.01.png


The rows and columns displayed by Excel are a human visual guidance so we can work on the tables.


To display files directly in our pages, we can use the Excel Macro. The excel macro displays a preview of the excel file directly on the page, no need to click on the file to preview it. However, the rows and columns are not displayed. They are present only if we specify borders for our cells before saving the file in Microsoft Excel.

Here is our documentation on this macro:


The short version is that we can add borders into our table cells and the preview will display them directly in Confluence.


I hope this helps!


Try adding all borders before attaching to the confluence page.
If you want more functionality you can choose Excellentable for Confluence to edit the excel files within confluence.

Sheet Imported (Edited in Google Sheets)

Capture 2020-03-10 at 13.35.15.png

Attached to Confluence with Insert-->File&Images
Note the slight margins of below table disappear, but remain in the above table "All borders"

Capture 2020-03-10 at 13.35.29.png


Excellentable Attach
Shows the complete spreadsheet editable within  confluence

Capture 2020-03-10 at 13.35.57.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

4,120 views 4 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you