I have a Word 2007 template, .dotm extension with a customized ribbon. When
I open the template, the ribbon is there, the buttons on it work fine.
I open this template from an Access application and create a document from
the template. The ribbon does not show up in the document based on the
template.
In Word 2003, I had a command bar and used the following code in the
Document_Open and Document_New events I had the following VBA:
CommandBars("Photos").Visible = True
CommandBars("Photo").Controls("Insert Photo Group").TooltipText =
"Insert All Photos from Folder"
CommandBars("Photo").Controls("Add Top Label").TooltipText = "Add Top
Label"
I have tried (Investigations is the name of the ribbon):
CommandBars("Investigations").Visible = True
It does not help. Any ideas?
Karen
Hi Karen,
Do the ribbon customizations show up when you create a new document from the template going through Office Button=>New in Word?
How are you openibg Word from Access 2007 ?
Do you have a link you can provide to your template (or a sanitized one if necessary) that has the custom ribbon in the template?
================
I have a Word 2007 template, .dotm extension with a customized ribbon. When
I open the template, the ribbon is there, the buttons on it work fine.
I open this template from an Access application and create a document from
the template. The ribbon does not show up in the document based on the
template.
In Word 2003, I had a command bar and used the following code in the
Document_Open and Document_New events I had the following VBA:
CommandBars("Photos").Visible = True
CommandBars("Photo").Controls("Insert Photo Group").TooltipText =
"Insert All Photos from Folder"
CommandBars("Photo").Controls("Add Top Label").TooltipText = "Add Top
Label"
I have tried (Investigations is the name of the ribbon):
CommandBars("Investigations").Visible = True
It does not help. Any ideas?
Karen >>

Signature
Bob Buckland ?:-)
MS Office System Products MVP
*Courtesy is not expensive and can pay big dividends*
Karen - 29 Mar 2008 03:21 GMT
Hi Bob,
Well, you definitely asked the right questions :) I went into the Access
code to copy the code that was calling the document and, sure enough, it was
calling the old template xxxx.dot instead of the new template
xxxx.dotm---updating this database to 2007 and its' templates is just going
to be lots of fun................ :)
Thanks for the help, your second question was the key to my problem :)
Karen
"Bob Buckland ?:-)" <75214.226(At Beautiful Downtown)compuserve.com> wrote
Hi Karen,
Do the ribbon customizations show up when you create a new document from the
template going through Office Button=>New in Word?
How are you openibg Word from Access 2007 ?
Do you have a link you can provide to your template (or a sanitized one if
necessary) that has the custom ribbon in the template?
================
<<"Karen" <wonderlover@msn.com> wrote in message
news:%23RJN4yHkIHA.980@TK2MSFTNGP06.phx.gbl...
I have a Word 2007 template, .dotm extension with a customized ribbon. When
I open the template, the ribbon is there, the buttons on it work fine.
I open this template from an Access application and create a document from
the template. The ribbon does not show up in the document based on the
template.
In Word 2003, I had a command bar and used the following code in the
Document_Open and Document_New events I had the following VBA:
CommandBars("Photos").Visible = True
CommandBars("Photo").Controls("Insert Photo Group").TooltipText =
"Insert All Photos from Folder"
CommandBars("Photo").Controls("Add Top Label").TooltipText = "Add Top
Label"
I have tried (Investigations is the name of the ribbon):
CommandBars("Investigations").Visible = True
It does not help. Any ideas?
Karen >>

Signature
Bob Buckland ?:-)
MS Office System Products MVP
*Courtesy is not expensive and can pay big dividends*