From: dplaut on 1 Mar 2010 15:34 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.
From: Graham Mayor on 2 Mar 2010 01:55 Whate *exactly* are you trying to achieve with your macro? -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org <>>< ><<> ><<> <>>< ><<> <>>< <>><<> "dplaut" <dplaut(a)discussions.microsoft.com> wrote in message news:FACC88A6-8D2B-4AD9-9101-2C5C513B1B33(a)microsoft.com... > 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.
From: dplaut on 8 Mar 2010 09:11 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. "Graham Mayor" wrote: > Whate *exactly* are you trying to achieve with your macro? > > -- > <>>< ><<> ><<> <>>< ><<> <>>< <>><<> > Graham Mayor - Word MVP > > My web site www.gmayor.com > Word MVP web site http://word.mvps.org > <>>< ><<> ><<> <>>< ><<> <>>< <>><<> > > > "dplaut" <dplaut(a)discussions.microsoft.com> wrote in message > news:FACC88A6-8D2B-4AD9-9101-2C5C513B1B33(a)microsoft.com... > > 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. > > > . >
|
Pages: 1 Prev: Font formatting in VBE Next: Determine Length Of Mail Merge Field |