Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-24-2015, 08:36 AM
Doug Needham Doug Needham is offline Word ribbon not loading Windows 7 64bit Word ribbon not loading Office 2013
Novice
Word ribbon not loading
 
Join Date: Nov 2014
Posts: 20
Doug Needham is on a distinguished road
Default Word ribbon not loading

I have a customized Word ribbon that I utilize within Word 2013. The .dotm file is saved in the following folder and works fine.

C:\Users\name\AppData\Roaming\Microsoft\Word\START UP



When I try and implement this same ribbon within Word 2007, it won't load. To implement I'm opening the .docm file and then choosing File Save As a .dotm file. This has worked in the past, but for some reason it's not working within Word 2007.

Any thoughts? Suggestions?
Reply With Quote
  #2  
Old 07-24-2015, 06:53 PM
gmaxey gmaxey is offline Word ribbon not loading Windows 7 32bit Word ribbon not loading Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,429
gmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the rough
Default

What is your namespace for the XML?
Word 2007 uses:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" ...
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #3  
Old 07-25-2015, 11:26 AM
Doug Needham Doug Needham is offline Word ribbon not loading Windows 7 64bit Word ribbon not loading Office 2013
Novice
Word ribbon not loading
 
Join Date: Nov 2014
Posts: 20
Doug Needham is on a distinguished road
Default

Here's what I have:

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
Reply With Quote
  #4  
Old 07-25-2015, 12:18 PM
gmaxey gmaxey is offline Word ribbon not loading Windows 7 32bit Word ribbon not loading Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,429
gmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the rough
Default

That explains it. Change it to what I showed you.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #5  
Old 07-27-2015, 06:29 AM
Doug Needham Doug Needham is offline Word ribbon not loading Windows 7 64bit Word ribbon not loading Office 2013
Novice
Word ribbon not loading
 
Join Date: Nov 2014
Posts: 20
Doug Needham is on a distinguished road
Default

When I make that change and then try to validate the code, I get an error saying, "Unknown namespace".

Custom UI XML Namespace must be "http://schemas.microsoft.com/office/2009/07/customui"
Reply With Quote
  #6  
Old 07-27-2015, 08:14 PM
Guessed's Avatar
Guessed Guessed is offline Word ribbon not loading Windows 7 32bit Word ribbon not loading Office 2010 32bit
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,975
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

What tool are you using to create the ribbon?

I use Office Ribbon Editor and if I want a ribbon to work in Word 2007, I need to ensure the CustomUI Part is RibbonX12 as well as having the namespace as per Greg's posts. If your CustomUI Part is RibbonX14 then it probably won't validate correctly with the older namespace.

Note that if you set up the ribbon for Word 2007 it will also work for Word 2010 and 2013 - forward compatibility is alive and well. It appears I could include different ribbons for different versions of Word but that is way more effort than I would entertain.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #7  
Old 07-28-2015, 05:46 AM
Doug Needham Doug Needham is offline Word ribbon not loading Windows 7 64bit Word ribbon not loading Office 2013
Novice
Word ribbon not loading
 
Join Date: Nov 2014
Posts: 20
Doug Needham is on a distinguished road
Default

I use Custom UI Editor for Microsoft Office.

I downloaded Office Ribbon Editor (Leaf Creations). However, when I try and open my Ribbon.docm file, the screen is blank. I don't see any of the code. I can't even start a file from scratch. The screen is just blank. Did I download the correct program?

BTW, great picture. Whenever my kids do something stupid, I just call them "Midvale".
Reply With Quote
  #8  
Old 07-28-2015, 06:18 AM
Doug Needham Doug Needham is offline Word ribbon not loading Windows 7 64bit Word ribbon not loading Office 2013
Novice
Word ribbon not loading
 
Join Date: Nov 2014
Posts: 20
Doug Needham is on a distinguished road
Default

Ok, I figured out my problem with viewing the code. I tried opening an existing Ribbon.docm file, but the UI was RibbonX14 and changing the Namespace didn't work. So I started a ribbon from scratch using RibbonX12, copied all of my code over, and that seems to have worked.

Thanks
Reply With Quote
  #9  
Old 07-29-2015, 10:10 AM
Doug Needham Doug Needham is offline Word ribbon not loading Windows 7 64bit Word ribbon not loading Office 2013
Novice
Word ribbon not loading
 
Join Date: Nov 2014
Posts: 20
Doug Needham is on a distinguished road
Default

I'm using Ribbon Editor and the Custom UI part is Ribbon X12. I can see all of my code. When I open my Ribbon.docm file in MS Word, my ribbon shows-up and appears to look just fine. However, none of the macros are working.

When I view the code within Ribbon Editor, there are no Callbacks. So using Custom UI Editor, I just opened the file that uses the same code. I simply copied the Callbacks and pasted them in Ribbon Editor. I then saved the file and closed it. NOW, when I open that same file again within Ribbon Editor, my Callbacks are gone. For some reason, it's not able to save those Callbacks.

Are the Callbacks between Custom UI Editor and Ribbon Editor not compatible?

Any ideas?
Reply With Quote
  #10  
Old 07-29-2015, 03:15 PM
Guessed's Avatar
Guessed Guessed is offline Word ribbon not loading Windows 7 32bit Word ribbon not loading Office 2010 32bit
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,975
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

The code does not get authored in the Ribbon editor - that happens in the modules when you edit the template.

I have always ignored the callbacks in the ribbon editor but I think it is just used to generate the names of all the code referenced in the ribbon and you then copy/paste this over to the template modules. Think of it as a reminder on what is needed rather than a complete solution.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Tags
ribbon



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word ribbon not loading Word 2007 not loading the working area smarty470 Word 3 12-28-2013 04:57 PM
How to import the customized ribbon to Word without overwriting the existing Ribbon? SharonSh Word VBA 0 09-26-2013 11:47 PM
Word ribbon not loading Word 2010 - Style Sets not fully loading / loading properly emilypage Word 3 11-09-2012 01:11 AM
Loading Image Files Into WORD Table cbjroms Word 0 10-19-2011 10:10 AM
Excel 2010 Ribbon look like 2007's Ribbon esotop Excel 0 03-22-2011 07:05 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:24 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