Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Odd Formatting for previewing Excel Files

AJohnson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 14, 2020

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
Shardul Juyal {Addteq}
Atlassian Partner
April 20, 2020

Hi,

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

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 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!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events