Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 10-21-2017, 05:55 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

"Even if there were an event you could trap, I hardly imagine you'd want to wait for perhaps a Minute"

correct, only this part
If strRef <> strStl Then .Code.Text = Replace(.Code.Text, strRef, strStl)
seems to be uncritical as Long as you operate an assessable range and perform field updates later.

In fact, in most cases only some paragraphs are concerned and Need to be updated

Example. The user will change the Headline 1.2 to 1.1.3. The update range will be the red area. Only REFSTYLE fields in those paragraphs must be detected and changed. If the user has finished all changes he can click on an update button, to check the results.

1.1 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor

invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata

1.2 sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr
- justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
- justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata

At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren


2 sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,

no sea takimata sanctus est Lorem ipsum dolor sit amet
Reply With Quote
 



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 06:28 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