Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Word macro auto update table of content fields


I have some documents that are exported from an application using a third party document helper. The problem is that these documents have table of content which is calculated when the document opens(it will prompt the user asking if he wants to update the fields in the document) - this is because when generating the Word document, the pages are not know until the document is opened. This is also an option within Word itself related to table of contents.

If I upload this document automatically and apply a word macro on it, the table of content will not be visible in the page. Is there a way for this to work in Confluence, so that it updates the fields when applying the macro, or something similar?




1 answer

0 votes

Hi Daniel,

Thank you for contacting us about this.

I'm not sure I follow. It sounds like you want Confluence will be able to generate a table of contents based on the headings in a Word Document. Am I understanding correctly that there is not currently a table of contents and you want it to be generated on-the-fly when you automatically upgrade the document?

I'm not aware of anything in Confluence that can accomplish that. You can Import Word Documents into Confluence directly as a page, and headings can be automatically created. Then you can even use the Table of Contents macro to display a Table of Contents based on the headings. I'm not sure how you would automate that, but perhaps it can give you a head start?

You can also have a look at Marketplace in case there are any add-ons that might help you with the task.

I hope that helps.



Suggest an answer

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

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

415 views 23 8
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