View File Macro
Add this macro to your page
To add a View File macro to a page:
- Unable to render {include} The included page could not be found.
- Choose Office Excel, Office PowerPoint, Office Word, or PDF from the Confluence content category.
- Select the file you want to display and enter any additional parameters.
- Choose Insert.
You can then publish your page to see the macro in action.
Supported file types
To display an Office or PDF document in a page, use one of the following View File macros in the macro browser:
- Office Excel (.
xls
and .xlsx)
- Office PowerPoint (.
ppt
and .pptx)
- Office Word (.
doc
and .docx)
- PDF (
.pdf
)
Editing files
You can edit files embedded with the View File macro using your preferred desktop application, then save the file back to Confluence automatically. Head to Edit files for instructions.
- Word and Excel – choose the Edit button above the content.
- PowerPoint and PDF – choose the edit icon on the viewer.
Importing content from Word documents
If you want to use the contents of your Word document to create a Confluence page, see Import a Word Document into Confluence.