Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-2017, 01:12 AM
datech-hh datech-hh is offline Update Styleref Fields Windows 10 Update Styleref Fields Office 2016
Novice
Update Styleref Fields
 
Join Date: Oct 2017
Posts: 9
datech-hh is on a distinguished road
Default

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update Styleref Fields 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

Other Forums: Access Forums

All times are GMT -7. The time now is 03:40 AM.


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