Hi all,
I have a ton of documents with various calls to action (i.e. Go to Section 1.21.)
At these locations I need to insert cross references (i.e. 1.21. MyHeading ABC)
I can do this manually - e.g. go to cross references and insert the heading number and heading text. However, I need to do this programatically. The code for doing this is:
This works just fine if I know the ReferenceItem, except I don't.
I can loop through each heading paragraph to returns the full paragraph heading based on my selected number (1.21.)
But how can I use this to get a ReferenceItem number from a paragraph loop?
Would really appreciate any ideas.
Cheers
Bookmarks