#1
|
|||
|
|||
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? |
#2
|
|||
|
|||
What is your namespace for the XML?
Word 2007 uses: <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" ... |
#3
|
|||
|
|||
Here's what I have:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui"> |
#4
|
|||
|
|||
That explains it. Change it to what I showed you.
|
#5
|
|||
|
|||
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" |
#6
|
||||
|
||||
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 |
#7
|
|||
|
|||
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". |
#8
|
|||
|
|||
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 |
#9
|
|||
|
|||
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? |
#10
|
||||
|
||||
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 |
Tags |
ribbon |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 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 |