![]() |
#1
|
|||
|
|||
![]()
Hi:
I have a document template (.docx), which is used by different user groups in different parts of the world. Since, the different regions have different separators defined by OS settings, the TOC doesn't get updated automatically and throws an error. To mitigate this problem, I check the separator using this code , which I found online: Code:
{ IF { =product(2;3) } = 6 "{ SET list ";" }" "" }{ IF { =product(2,3) } = 6 "{ SET list "," }" "" } { TOC \t "style1{ list }1{ list }style2{ list }2" \h \z \u } Is there a way that the first part of code is executed automatically, whenever someone tries to update the TOC. Please note that, this code needs to be invisible so nobody can change it and VBA is not an option. Any useful suggestion will be highly appreciated. Please let me know if something is unclear. Thanks. Best Regards, Ajay |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
terry795 | Word | 16 | 01-07-2016 04:33 PM |
![]() |
ChrisC | Mail Merge | 1 | 06-18-2012 07:11 PM |
![]() |
Jamal NUMAN | Word | 2 | 07-03-2011 03:11 AM |
Add automatic separator in caption "Figure 1: __" | poobear | Word | 1 | 05-12-2011 04:05 PM |
"Outlook could not create the work file." error. All settings look good, any ideas? | Booshanky | Outlook | 0 | 08-31-2010 09:36 AM |