Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Menus and Toolbars / March 2008

Tip: Looking for answers? Try searching our database.

Customized Ribbon problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karen - 28 Mar 2008 03:37 GMT
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
Bob   Buckland ?:-) - 29 Mar 2008 02:51 GMT
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*

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.