Capture user selection of font

D

dplaut

If I put a font combo box on a Ribbonbar is there a way for me to capture the
user's font choice? I need to capture that choice and use it in a macro.
 
G

Graham Mayor

Whate *exactly* are you trying to achieve with your macro?

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
D

dplaut

I want to get the font the user wants to use but then I need to apply that
font in multiple places such as the header of the document as well as where
the cursor is located.

My current solution is to open a font dialog w/ code like:
Set dlgFonts = Dialogs(wdDialogFormatFont)

But now I've found that I can put a font combo box on the ribbonbar, that
would be a more appropriate interface as it does not have the myriad of
formatting choices that the font dialog has. I just want to get the name of
the font the user wants.
 

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