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?
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:
If we define no cell border, no border will be shown:
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)
Attached to Confluence with Insert-->File&Images
Note the slight margins of below table disappear, but remain in the above table "All borders"
Shows the complete spreadsheet editable within confluence
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...
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