View Single Post
 
Old 10-20-2017, 04:09 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,373
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

There is no event you can trap for a change of the Style name applied to some content. Frankly, I can't see why you're changing the Style name of the content you want to have showing in the StyleRef field; surely it would be better to retain that - and the presently-applied Style names for the content - and, if necessary, change the Style formatting and use a different Style (perhaps based on the current one) for whatever else you're presently re-assigning the Style to. I also don't understand what your use of StyleRef fields has to do with Tables of Contents or Indexing.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote