How to change textbox font using name of font?

Started by matthew, July 22, 2020, 06:58:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

matthew

HI,
I was hoping to use the name of the font rather than the macro code:
Application.ActiveWindow.Page.Shapes.ItemFromID(Milestone(X, 21)).CellsSRC(visSectionCharacter, 0, visCharacterFont).FormulaU = "523"
Is there a way of using the font name e.g. "Wingdings 2"?
thanks

Paul Herber

Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

matthew

thanks Paul,
that worked just great on both computers, thank you