Toolbars

K

Kreiss

Is there a way to create a toolbar on the fly? I have the
following code in the open procedure...

CommandBars("OutOfState").Visible = True \\which brings up
two things 1.) Print Preview & 2.) Print option.

My problem is this...I have to create that "OutOfSate"
toolbar on each users PC that will be using the document.
Otherwise it can't find the "OutOfState." toolbar

My question is can I create this command bar on the "Open"
procedure so the print preview and the print option are
the only options visible?

Thanks in advance,
Kacy
 
C

Cindy M -WordMVP-

Hi Kreiss,
Is there a way to create a toolbar on the fly? I have the
following code in the open procedure...

CommandBars("OutOfState").Visible = True \\which brings up
two things 1.) Print Preview & 2.) Print option.

My problem is this...I have to create that "OutOfSate"
toolbar on each users PC that will be using the document.
Otherwise it can't find the "OutOfState." toolbar

My question is can I create this command bar on the "Open"
procedure so the print preview and the print option are
the only options visible?
you certainly could to this, yes. But you ought to also be
able to save this toolbar directly IN the document.

When you go to Tools/Customize and click "New toolbar", be
sure that this document is selected in the dropdown list. By
default, Word will save new toolbars in the Normal.dot
template.

Alternately, you should be able to copy the toolbar from
Normal.dot (I'm guessing that's where it currently is) to the
document via Tools/Templates and Addins/Organizer

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun
8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 
K

Kreiss

Out of curiosity...how would I create a commandbar that
only includes a "print" and "print preview" button.

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top