![]() |
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Quote:
Excuse me, Dear Andrew, today I applied your code to my entire thesis and I get unexpected results in chapter 4 of my thesis. Firstly, I thought the problem is only with this chapter, but after applying, using different documents, analyzing the problem. Consequently, I have reached the underlying problem. To clarify, your code works fine for a single occurrence of any cross-references in any chapter, but for second or more occurrences of the same cross-references, it can not deal with them and convert them to a closed parenthesis, see below screenshot 152.jpg Look when applying your code, what happens 153.jpg Additionally, when making a right-click on the number of the cross-reference that has multiple occurrences in the document and making update field, the number of cross-reference gone and appear as closed parenthesis like (), as below 154.jpg For this reason, I get this problem in chapter 4, because I use the same cross-reference many times in my paragraphs. So, can you fix this problem please with special thanks Mr. Andrew? The code is amazing and I don't want to leave it. You can download the attachment file for applying to it. Last edited by laith93; 08-20-2021 at 01:17 PM. |
|
| Tags |
| vba code, vba editor, word 19 |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to update Exhibits and related cross-references numbers automatically? | Surendra Yadav | Word | 4 | 10-30-2018 03:02 PM |
How to convert text that is enclosed inside parenthesis in a word document into numbered footnotes?
|
BobT | Word | 5 | 07-27-2018 01:17 PM |
| How to cross reference figures or tables when option is not given | timfoolery | Word | 4 | 06-12-2018 05:53 AM |
| Convert manual cross references in footnotes to other footnotes to automatic cross references | ghumdinger | Word VBA | 7 | 11-20-2014 11:47 PM |
| accept only new page numbers and cross references in review mode | guitargeorge | Word | 7 | 10-15-2013 03:32 PM |