Author Topic: Creating Styles in Visio 2010  (Read 6673 times)

0 Members and 1 Guest are viewing this topic.

KirkMorrant

  • Newbie
  • *
  • Posts: 5
Creating Styles in Visio 2010
« on: March 20, 2012, 07:21:12 PM »
Help! I am trying to create a custom style in Visio 2010. I have found the style commands (they were all hiding in the "Commands not in the Ribbon" category of the Customize Quick Access toolbar section of the Options dialog box). But when I try to create a style - it gives me the message "A name is required. Enter a name." I HAVE ENTERED A NAME!

saveenr

  • Jr. Member
  • **
  • Posts: 28
Re: Creating Styles in Visio 2010
« Reply #1 on: March 20, 2012, 08:11:25 PM »
I have the same problem and could not find a way of making this work. Instead, my workaround was to use VBA to create the Style.

Code
Application.ActiveDocument.Styles.Add("MyNewStyle1", "", 1, 1, 1)

KirkMorrant

  • Newbie
  • *
  • Posts: 5
Re: Creating Styles in Visio 2010
« Reply #2 on: March 20, 2012, 08:22:14 PM »
Thanks for your reply, saveenr. You want to know the really strange thing? My manager CAN create a new style, no problem. And so can one of our colleagues in a different office. It's just MY office PC and my PC at home that can't. I think both PCs had Visio installed from the same installation file, so maybe that has something to do with it.

Jumpy

  • Hero Member
  • *****
  • Posts: 1061
Re: Creating Styles in Visio 2010
« Reply #3 on: March 21, 2012, 02:44:26 AM »
Are all ServisPacks installed? I can darkly remember, that there was such an issue, but that was fixed in an update somehow.

hth Jumpy