How can I execute a macro in Word 2003 whenever I apply a particular style?
Title says it all really I just have a simple macro that inserts a SEQ field I want that to run whenever I apply a particular formatting style, any ideas? You'd have thought someone would have wanted this at some point but I guess not, nothing on google anyway.
Any help much appreciated!
Posted Aug 11, 2021, 11:17 AM UTC
I don't think it can be done on the event of the style changing, because there's no such event to hook.
Your best bet is to create a macro that applies the style and inserts the field, and make a button for it.