Embed an Excel file in Confluence
Asked by Denyse:

Is there a way to embed an Excel file into the Confluence page rather than using a link to the Excel file?


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi there,

The Stiltsoft team is happy to announce that our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=cloud&utm_source=atl_community) app now provides a new macro -- [Table Spreadsheet](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Spreadsheet+macro?utm_source=atl_community).

The macro allows you to work with fully functional Excel spreadsheets right in Confluence.

You'll be able to use cells' formulas, filters, conditional formatting, etc., create pivot tables and charts from the page view and edit mode.

![](https://docs.stiltsoft.com/download/attachments/83100938/Conditional%20formatting.png?version=1&modificationDate=1641987630000&api=v2&effects=border-simple,shadow-kn)

The Table Spreadsheet macro is available for Cloud and Server/Data Center.


author: Cristian Caravan
body: Hey Katerina,

I found your question and its been a few years since you posted it, but dint really see an answer other than buy this plugin do this, so will add it here in case you still need.  
1. You need to have the excell page hosted on a sharepoint/cloud (pretty much you have to be able to open an excell sheet from your browser)

2. go to File -\> Embed

3. Play around with the options until you find the things you want to synch to

4. go to your confluence page, and add the macro called html-bobswift (i think this comes with the default license, i could be wrong)

5. Go back to your excell, and grab the link generated under "embed Code"

6. Paste that link in the confluence html-boswift macro

7. play around with the width height until you reach the desired result


author: Davin Studer
body: Yes. You can use the Excel macro or create the link to the excel file. Then in the editor click on the link and select Show as thumbnail.

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/23686i26E7C485D2642AFC/image-size/large?v=v2&px=999 "Capture.PNG")

comments: author: Denyse
body: No - that didn't work. I tried selecting the thumbnail and although I selected to Edit With when I selected to open the thumbnail, nothing allowed me to key into any cell in the Excel worksheet. I've tried using the Files and Images option - that only creates a .pdf version of the file. If I select Links, I can open the link to the file but that doesn't embed the file into the page, that only launches the file - NOT the same as embedding. I have secured the worksheet such that only 4 fields are available to the user and 2 of those 4 fields are based upon a drop-down of validated values. I need this worksheet to work within the page. If the only option is to open the workbook, I'll have to deal with that. Formatting is not a strong suit for Confluence - yet another example of such.


author: Davin Studer
body: Oh, you want to be able to edit it. You are not going to be able to edit it in Confluence. Confluence is not meant to be an Excel replacement. They have functions to display Excel contents, but it's never going to be set up to edit Excel files ... that's what Excel is for. That's also why they have the Edit in Office links so that you can quickly launch office, makes changes, and have those changes pushed directly back into Confluence.


author: Denyse
body: That's why my original question, about embedding an Excel file, not linking to the file, was presented. I had tested and I'm able to launch the Excel file from a link which allows me to use the Excel file as intended by launching the Excel application. But if I select Macros\>Files and Images it only creates a PDF version of the worksheet - not usable. And, as a side note, even if I select "Edit With" Confluence is not offering me the MS Office applications with which to modify (edit) the file, which seems like an issue. Then again, if the file is converted to PDF, there would be no reason to expect the Office application to launch.


author: Douglas Pyle
body: [@Davin Studer](/t5/user/viewprofilepage/user-id/781467)"They have functions to display Excel contents". How?

I would like for my users to be able to interact with excel content directly on the page. Not trying to replace Excel, but don't want them to have to download it in order to view, highlight/copy, click links, etc

Thanks, --D


author: Davin Studer
body: [@Douglas Pyle](/t5/user/viewprofilepage/user-id/2459413) You can use the Excel Macro. Go to the macro browser and search for Excel. Or type "{" (without the quotes)in the editor to bring up the inline macro browser and then type Excel to filter it to the Excel Macro. That macro will let you select an attached Excel file and render it to the page.


author: Charisma Riley
body: The Office Excel Macro is [disappearing](https://confluence.atlassian.com/doc/office-excel-macro-375849173.html "Office Excel Macro") soon. I am looking for a similar solution.


author: Davin Studer
body: Well, not necessarily. According to [CONFSERVER-39829](https://jira.atlassian.com/browse/CONFSERVER-39829) they reversed course on this with Confluence Cloud and are going to see how that works out with Cloud and may implement the new file viewer into Server.


author: Charisma Riley
body: [@Davin Studer](/t5/user/viewprofilepage/user-id/781467), thanks for that update; I hadn't realized. Do you know if it is possible to specify that a specific worksheet within a workbook be displayed?

UPDATE: Answered my own question; it is not.


author: Davin Studer
body: Yeah, unfortunately not yet, but hopefully before they would yank it from Server that would be a feature that was implemented by then.


author: Jorge Soto
body: I'm trying to display an excel file on a Confluence page. I couldn't find the Excel macro in market - is it no longer available?


author: Shardul Juyal {Addteq}
body: Hi [@Jorge Soto](/t5/user/viewprofilepage/user-id/492940)

Directly attaching an excel file will display the spreadsheet in Confluence as a pdf.  

If you want to edit the excel inside confluence, you can use our [Excellentable](https://marketplace.atlassian.com/apps/1211672/excellentable-spreadsheet-for-confluence?hosting=cloud&tab=overview) plugin


author: Mark R. White
body: The easiest way to do this is just to add a table to the Confluence page you want it on and copy and paste the excel data into it. To add a table, simply type /table. This will add an excel style table and you can them copy and paste the data you need into it.


author: Michelle Bajraktarevic
body: Honestly none of that worked for me, the excel macro wants a bunch of complicated file path info instead of just being able to let your browse your computer, you pick an excel OR CSV file, and you hit upload or attach and the thing convert your excel columns and rows into a table and number them if you want or if it's already in there.

The other one wants me to sign up for Atlassian Cloud first and when I try, my work's global login isn't just logging me in, Atlassian is asking me to sign up for something that looks like it costs money and will require IT admin permissions.

So I went back to my excel, selected just the rows and columns I wanted in the table, and copied and pasted it over, easy breezy. No formatting transferred but since I already added a numbering column in it before copying and pasting, I'm done. Atlassian... that excel macro thing is completely not user-friendly if it can't just browse our computer and pick up the file.

comments: author: Oki__PolarisOffice_
body: Our app, Polaris spreadsheet allows you to embed an existing excel file for your project management in a confluence page and to directly edit it. You can choose excel or CSV files, and the app enables you to check your excel files in a confluence page without any convertiing.

In addition, it also supports creating a Jira issue or linking a ticket.

[https://marketplace.atlassian.com/apps/1223556/polaris-spreadsheet-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1223556/polaris-spreadsheet-for-confluence?hosting=cloud&tab=overview)