?
Solved

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

Posted on 2016-08-13
5
Medium Priority
?
138 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 2000 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.
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…
Suggested Courses

770 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