Hi All,
I need to format the table of contents (TOC) in multiple Word documents daily. I'm using Power Automate with OpenXML (C#) to add the TOC. However, the code is inserting a TOC but not update it automatically, as shown in the attached image.
The main requirement is:
If a TOC already exists, it should be updated.
If no TOC is present, it should be inserted.
Note: The solution must work online only.
Is there any other approach to achieve this?
Thanks,
Renjeesh.
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional