Avatar of LukeSteele
LukeSteele
Flag for United States of America asked on

Add Objects Alignment to Visio 2010 Ribbon

Hello Experts-

I am looking for a way to add the individual Objects Alignment MSO's to the Visio 2010 Ribbon.  In Visio 2010, you have to go through a gallery (Position) to get to the alignment options:
Align Left
Align Center
Align Right

I have attempted to edit the Customized UI file with the mso controls but I have had no luck, it appears the PositionMenu is the only mso I can use and I can't use the ObjectsAlignLeft, ObjectsAlignRight, etc.

Any thoughts on having a Macro that could load the custom menu items or perhaps an update to the visio.officeui file?  We currently do not have Microsoft Visual Studio to build anything.

Thanks-
Luke
Microsoft Visio

Avatar of undefined
Last Comment
Scott Helmers

8/22/2022 - Mon
Scott Helmers

You can add the align buttons to any ribbon tab directly from the UI... no programming or editing required.

File>Options>Customize Ribbon, then select All Commands in the left pane and all of the align functions will be visible. In the right pane select the tab where you'd like to place them (or create your own custom tab).
LukeSteele

ASKER
Hi Scott-

That is where I started but all I could find there was the Text Alignment and the full Position Menu Option.  I would like to get the Align Shapes Sub Menu MSO's directly onto the ribbon where I do not have to go through the Position Gallery (mimic's what Visio 2007 used to be).

Thanks-
Luke
Scott Helmers

Ah -- my mistake. I saw Align Left, Align Center, etc. but didn't notice that they were just the text align functions and not the shape align functions. I have to leave for a client's office now... I'll see whether I can come up with something else later.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
LukeSteele

ASKER
Thank you for looking into this Scott.
LukeSteele

ASKER
Hello Scott-

Any luck on finding out more information on this?

Thanks-
Luke
ASKER CERTIFIED SOLUTION
Scott Helmers

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
LukeSteele

ASKER
Thanks for looking into this Scott.  I kinda figured it couldn't be done from what I was looking at.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Scott Helmers

Luke -- I asked a couple of other Visio experts in case any of them knew a trick to accomplish what you want. None do, but one of them, John Goldsmith, had an interesting alternative given that adding specific align functions to the ribbon isn't an option:
=  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =
Could you use the old Align Objects dialog?  At least the dialog stays open so you can select both horizontal and vertical options:align shapes dialogYou can pop the following into the UserCustomUI field for the quick access bar:

<mso:customUI xmlns:mso="http://schemas.microsoft.com/office/2006/01/customui">
<mso:ribbon>
<mso:qat>
<mso:documentControls>
<mso:control idQ="mso:AlignDialog" visible="true"/>
</mso:documentControls>
</mso:qat>
</mso:ribbon>
</mso:customUI>
=  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =
LukeSteele

ASKER
Perfect, thanks Scott, I will look into this as well.  This might be better as I could have that popup window sitting on my 2nd monitor and can click on those.
Scott Helmers

I'm glad it looks like a workable idea -- I'll let John Goldsmith know.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23