![]() |
|
|
|
#1
|
|||
|
|||
|
Hello Paul,
"you would have to change the Style name in the StyleRef field to overcome " Thats what im doing at the moment. I wrote a macro that detects and changes the field.code.text. Problem 1) The user must click on a ribbon button to run the macro. I would Need an Event that detects document stylechanges. Is there any Event in word i could use for that? Problem 2) All fields should be updated as soon as a styleref has been changed. That takes up to 1 or two minutes in large documents. Thats not feasable. The reason is that my stylerefs to be used eg for Tocs and Indexes. I could live with 2) not updating all fields, instead i would implent a macro that Forces ActiveDocument.Fields.Update by ribbon button click or so. Thomas |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
How do I update all fields from a new input
|
Kozzzle | Word | 7 | 10-19-2017 06:12 PM |
| how to update calculated fields | sectionbreak | Mail Merge | 4 | 06-04-2014 12:12 AM |
| Macro to update fields | rhatx | Word VBA | 0 | 03-02-2011 12:14 PM |
| VBA to update certain (but not all) fields | sparkyrose | Word VBA | 0 | 05-20-2010 12:50 PM |
| Can no longer update fields! | slindsay | Word | 0 | 09-03-2009 05:10 PM |