Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-30-2013, 03:55 AM
ajay_p5 ajay_p5 is offline TOC not updated due to regional "separator" settings Windows 7 32bit TOC not updated due to regional "separator" settings Office 2010 32bit
Novice
TOC not updated due to regional "separator" settings
 
Join Date: Jul 2013
Posts: 2
ajay_p5 is on a distinguished road
Default TOC not updated due to regional "separator" settings

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 }
This solves the problem to a certain extent. However, whenever I try to update the TOC before the first part of the code is executed, it throws an error.

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
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
TOC not updated due to regional "separator" settings How do I get auto-updated "number of days since specified date" on MS word? terry795 Word 16 01-07-2016 04:33 PM
TOC not updated due to regional "separator" settings Applying "Paper Source" settings to multiple sections in a mail merge does not apply ChrisC Mail Merge 1 06-18-2012 07:11 PM
TOC not updated due to regional "separator" settings How to choose a "List" for certain "Heading" from "Modify" tool? 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

Other Forums: Access Forums

All times are GMT -7. The time now is 05:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft