Solved

Word 2013 custom ribbon to toggle an advanced option on and off

Posted on 2016-08-13
5
130 Views
Last Modified: 2016-08-24
Hello,
We have some users that have paragraph line spacing formatting issues with certain Word files.  We discovered the issue to be a default setting in Word that uses HTML paragraph auto spacing.  When we check the box to turn that feature off, the formatting issue is resolved.

Since this does not affect every document, it is troublesome for the user to go to File | Options | Advanced for the documents where this fix is needed.  I understand that Microsoft provides the Custom UI XML tool to create custom Ribbon tabs for Word but I am novice with it.  

So my question, is it possible to create a custom Ribbon for Word 2013 that has a button that can toggle the feature below on and off with a single click?  If so, what are the steps to accomplish that?

Word Option
0
Comment
Question by:bigeven2002
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 18

Expert Comment

by:xtermie
ID: 41765244
  1. Right Click on the Ribbon
  2. Select Customize the Ribbon
  3. In the Choose commands from pane, select All Commands
  4. Locate your command
  5. Select the tab you want to add it to on the right *i.e. Home
  6. Click on New Group and name the group
  7. Click Add to place the command to your new group
  8. Rename the command and/or give it a nice button
  9. Click OK

I would suggest you read https://support.office.com/en-us/article/Customize-the-ribbon-in-Office-00f24ca7-6021-48d3-9514-a31a460ecb31 for more info
and that you add this button to the quick access toolbar (qat) and not the ribbon
Same steps but rather than right clicking on the ribbon you right click on the QAT and select More commands
0
 
LVL 17

Author Comment

by:bigeven2002
ID: 41766121
Thank you for the reply, but that option does not exist in that list.  Any other suggestions?
0
 
LVL 18

Accepted Solution

by:
xtermie earned 500 total points
ID: 41766510
Try this in a macro and assign this to the button in the quick access toolbar?
Sub test()
ActiveDocument.Compatibility(wdDontUseHTMLParagraphAutoSpacing) = True
End Sub

Open in new window

0
 
LVL 17

Author Closing Comment

by:bigeven2002
ID: 41767976
Thanks!  That is what I was looking for.
0
 
LVL 18

Expert Comment

by:xtermie
ID: 41768295
Great...glad I could help :)
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Adults who share images on social media aren’t the only ones who need to worry about their privacy. Our culture’s tendency to share every move and celebration affects the privacy of our children, too.
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question