Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-16-2020, 11:44 AM
s0me0nesmind1 s0me0nesmind1 is offline Word Custom Ribbon In .dotm - How to edit/create? Windows 10 Word Custom Ribbon In .dotm - How to edit/create? Office 2019
Novice
Word Custom Ribbon In .dotm - How to edit/create?
 
Join Date: Apr 2020
Posts: 3
s0me0nesmind1 is on a distinguished road
Default Word Custom Ribbon In .dotm - How to edit/create?

Hey folks -



Ran into a template that has a customized toolbar in the "Add-In" Section of the Ribbon.

I'm attempting to understand what the author of this was doing - and trying to decipher what the commands do. But my first step to this is for me to figure out where this custom ribbon was made and how. I'm having a tough time with that after much self-research.

Below is a screenshot of the menu I am referring to (just for context).


Things I have tried to figure out editing this:

1. Go into developer/VBA and took out all VBA content. The custom ribbon still remains with all buttons (they are just broken since the methods they called are no longer there).

2. Went into MS Word Options - specifically File -> Options -> Customize Ribbon.

This shows me nothing really helpful - and upon trying to add a command to the Custom Toolbar it gives me the following error message: "Commands need to be added to custom groups. To create a custom group, pick a tab in the list, then click New Group"... Which is hilarious because it's literally called "Custom Toolbar"


3. Looked in the Add-in Sections - not seeing anything. Again this is a FLAT .dotm file. I was emailed this file and this file alone and if you open it on another computer the custom toolbar still loads with it.

4. Lastly, I downloaded/installed Office Custom UI for building ribbons and told it to open this dotm. When I opened it, it didn't seem to act as if anything was built for it previously. I was really hoping this was my answer was hidden XML - but, alas, if it has nothing to open then I guess that isn't the answer?



So at this point I'm rather confused - where did the author create these? And how can I edit them?
Reply With Quote
  #2  
Old 04-16-2020, 01:41 PM
Charles Kenyon Charles Kenyon is offline Word Custom Ribbon In .dotm - How to edit/create? Windows 10 Word Custom Ribbon In .dotm - How to edit/create? Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,124
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

This is a toolbar developed in Word 2003 or an earlier version. It is not a ribbon modification, per se but rather the implementation of a legacy commandbar. Each of the icons is linked to a macro or a Word Command. I know of no way of deciphering which icon goes to which command other than trial and error. If you want a similar example, take a look at my Legal Toolbars Add-In.

If you have access to Word 2003, you could easily edit the toolbar.

For easier solutions, consider adding your macros to the QAT or writing your own custom tab.
QAT modifications are fairly easy through the user interface although coming up with different icons for the different macros requires XML. Modify Quick Access Toolbar (QAT) Button Image or Text by Greg Maxey
QAT modifications can (and, IMO, should) be stored in the same global template that holds the macros.
Reply With Quote
  #3  
Old 04-16-2020, 01:43 PM
s0me0nesmind1 s0me0nesmind1 is offline Word Custom Ribbon In .dotm - How to edit/create? Windows 10 Word Custom Ribbon In .dotm - How to edit/create? Office 2019
Novice
Word Custom Ribbon In .dotm - How to edit/create?
 
Join Date: Apr 2020
Posts: 3
s0me0nesmind1 is on a distinguished road
Default

Quote:
Originally Posted by Charles Kenyon View Post
This is a toolbar developed in Word 2003 or an earlier version. It is not a ribbon modification, per se but rather the implementation of a legacy commandbar.

If you have access to Word 2003, you could easily edit the toolbar.

For easier solutions, consider adding your macros to the QAT or writing your own custom tab.
QAT modifications are fairly easy through the user interface although coming up with different icons for the different macros requires XML. Modify Quick Access Toolbar (QAT) Button Image or Text by Greg Maxey
QAT modifications can (and, IMO, should) be stored in the same global template that holds the macros.
Wow - Really?

What gives this away to you that this is from Word 2003 or before?
Reply With Quote
  #4  
Old 04-16-2020, 02:05 PM
Charles Kenyon Charles Kenyon is offline Word Custom Ribbon In .dotm - How to edit/create? Windows 10 Word Custom Ribbon In .dotm - How to edit/create? Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,124
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

I've been using Word since Word 95 (or Word 3 on the Mac). One of the things that really angered me was the inability to easily create custom toolbars when they came out with the Ribbon interface with Word 2007. I used to have custom toolbars all over my screen! The Legal Toolbars Add-In was a major piece of work for me.

When Word 2007 came out, custom toolbars (and menus) all went to the Add-Ins tab if they displayed at all.

In some ways, the QAT makes up for it, especially once I learned to store my QAT modifications in the templates rather than in the default. Ribbon XML modification is extremely powerful but nowhere as easy as the old toolbar creation/customization. One of the goals of the Ribbon interface was to make it harder to customize menus and toolbars because the customizations really frustrated the corporate IT departments.
Reply With Quote
  #5  
Old 04-16-2020, 03:07 PM
Charles Kenyon Charles Kenyon is offline Word Custom Ribbon In .dotm - How to edit/create? Windows 10 Word Custom Ribbon In .dotm - How to edit/create? Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,124
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

If you have Word 2003 or are interested in trying to use vba to modify commandbars let me know and I will send you some links. I think you are farther ahead using the QAT and ribbon modification tools available.

I strongly recommend against doing ribbon modification through the user interface. if you want your modifications to be portable.
Reply With Quote
  #6  
Old 04-16-2020, 03:25 PM
s0me0nesmind1 s0me0nesmind1 is offline Word Custom Ribbon In .dotm - How to edit/create? Windows 10 Word Custom Ribbon In .dotm - How to edit/create? Office 2019
Novice
Word Custom Ribbon In .dotm - How to edit/create?
 
Join Date: Apr 2020
Posts: 3
s0me0nesmind1 is on a distinguished road
Default

Quote:
Originally Posted by Charles Kenyon View Post
If you have Word 2003 or are interested in trying to use vba to modify commandbars let me know and I will send you some links. I think you are farther ahead using the QAT and ribbon modification tools available.

I strongly recommend against doing ribbon modification through the user interface. if you want your modifications to be portable.
Gotcha - So the only way to make the changes portable to other users is through backdoor XML methods of Custom UI Editor?

Just want to make sure I understand.

Appreciate all the help and guidance - I checked with the source of the file and they said it was DEFINITELY from prior to 2003, so you definitely know your stuff.
Reply With Quote
  #7  
Old 04-16-2020, 04:10 PM
Guessed's Avatar
Guessed Guessed is offline Word Custom Ribbon In .dotm - How to edit/create? Windows 10 Word Custom Ribbon In .dotm - How to edit/create? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,967
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Yes, I can confirm that a custom Ribbon that can be saved in a template and shared with other users MUST be done by editing the XML (made easier by using tools like the Custom UI Editor).

Using the GUI to 'edit the ribbon' makes changes to YOUR machine but those are not saved in the template and therefore can't be passed on via the template.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to create an office (word) add-in to create a custom ribbon bar with icons avogt Word VBA 1 05-18-2018 06:06 AM
Word Custom Ribbon In .dotm - How to edit/create? View/edit macro in DOTM file. eduzs Word VBA 5 04-14-2018 04:33 AM
Custom View on Ribbon rachekd Project 2 01-15-2018 06:33 AM
Word Custom Ribbon In .dotm - How to edit/create? Open Quickpart file normalemail.dotm - edit multiple building blocks rollno Word 7 02-24-2014 04:29 PM
How to edit custom fields in Word 2010? DaveLevy Word 8 02-08-2013 04:31 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:16 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft