Solved

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

Posted on 2016-08-13
5
93 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 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…
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…

803 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