Solved

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

Posted on 2016-08-13
5
81 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
  • 3
  • 2
5 Comments
 
LVL 17

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 17

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 17

Expert Comment

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

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

This article will show you how to use shortcut menus in the Access run-time environment.
My experience with Windows 10 over a one year period and suggestions for smooth operation
The goal of the tutorial is to teach the user what exposure is and how to use the exposure slider. Analyze the photo that you want to edit, then adjust the exposure slider to your liking.
The goal of the tutorial is to teach the user how to import photos into Adobe Lightroom efficiently and to keep everything organized.

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now