refreshing text after style update

J

jimi_hendricks

I have a userform which, after certain command buttons are pressed, changes
properties of a particular style, e.g.:

ActiveDocument.Styles("myHeading").Font.Color = RGB(R, G, B)

however, the document doesn't change automatically to reflect the
alteration. if i drag the userform, for example, then it changes. is there a
command i can use after the line above to force a 'refresh' after every
alteration?

kind thanks,
jimi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top