Thread: Templates
View Single Post
  #13   Report Post  
Jay Freedman
 
Posts: n/a
Default

Hi gman,

Answers follow the questions...

On Wed, 20 Apr 2005 10:10:08 -0700, "gman"
wrote:

Thanks to all who have been patient in helping me with this issue. Adding
this to my HTML code will make it easier to prepare the code for each photo
for uploading to my website.

1) Okay, I see how the ‘Control – F9’ method that is described operates, but
I am still curious about using the Insert - Field - MacroButton method.
After I select MacroButton under Field Names, what do I select on the right
side where it says Macro Name? Do I type anything in the Display Text box?


If you want to use the "NoMacro" trick discussed in the
UsingMacroButton.htm page (that is, use a name for any macro that
doesn't exist, so that clicking the macrobutton field only selects
it), remember that it *is* a trick -- something not deliberately
intended by Word's designers -- so the Insert Field dialog doesn't
make it easy for you. The list contains only the names of macros that
do exist; including all the names that don't exist would make for a
fairly large list. :-)

Instead, you'd have to click the Field Codes button on the lower left
of the dialog, and type in the NoMacro name followed by whatever
display text you want.

In either place in the dialog, the display text is what appears on the
page when field codes are toggled off with Alt+F9 or Shift+F9. If you
don't type any display text, the macrobutton field will be invisible,
which would defeat the purpose of having one. So yes, you really do
have to type something for the display text.

Personally, I find the Ctrl+F9 method to be a zillion times faster
than the dialog.

2) How do you open the actual template to modify it? The only way I can
find is to go to Windows Explorer and find the file, right click, select
‘open’ and make changes there. If I select ‘New’ under file, then ‘On my
computer’ under templates on the right pane, right click on the template and
select ‘open’, it opens up a window that has the template, but it says
‘Template 1,’ for example, instead of the name that I gave the template. If
I make changes and hit ‘save,’ it asks me what I want to say it to. I can
select the template from the template list; however, this is different than
when I open the template from Windows Explorer, which opens the template
itself. When I hit ‘save’ there after making changes it just saves it
without asking me where I want to save it.


The Windows Explorer right-click Open method is one way to open
the template itself. See the answer to question 3 for another way.

Using New, either in the Windows Explorer right-click menu or in
Word's File menu, creates a *document* (not a template) *based on* the
template you choose. This document will contain a copy of any text and
styles in the template, but it will not contain any of the macros,
toolbars, or AutoText from the template. Word will ask you where to
save this new unnamed document. In the File Save As dialog, you can
change the "Save as type" box to "Word Template" to make it into a new
different template. Doing so will cause Word to automatically suggest
the User Templates folder as the location instead of the Documents
folder.

3) Is there a way to open templates, both the original template to modify
and the template document, under File? I can not find a way to add
‘templates’ under File or to a toolbar.


Use the File Open dialog. Set the "Files of type" box at the bottom
of the dialog to "Document Templates". Then you'll have to navigate to
the folder that holds the template file (generally the one named in
the Tools Options File Locations dialog as the User Templates
folder).

To make this easier, you can add the User Templates folder to the
vertical panel of icons on the left side of the File Open dialog.
Open the dialog and navigate to the User Templates folder. Then click
the Tools menu in the upper right corner of the dialog, and select the
item labeled Add to "My Places". From now on, you can just click that
icon.

In general, remember that New makes a new document based on the
selected template, while Open opens the template or document that you
select.

I don't understand what you're calling a "template document". There is
a template (a .dot file) and there is a document (a .doc file). There
is no hybrid.

4) Can I add a shortcut under File or to a toolbar? This seems like a thing
to do with macros. Maybe, however, there is an easier way than using a macro
to do this.


Again I think we're suffering some confusion of terminology. If by
"shortcut" you mean a shortcut to open a particular file, the simplest
way is to enable the Work menu as described at
http://www.word.mvps.org/FAQs/General/WorkMenu.htm. This is a separate
top-level menu to which you can add the names of documents or
templates to which you want instant access.

In Word, the more common use of the term refers to "keyboard
shortcuts", which are two- or three-key combinations that execute
commands. Word comes with dozens of predefined shortcuts that you
probably already know, such as Ctrl+S for Save and Shift+F9 for Toggle
Field Code. You can define your own keyboard shortcuts by going to
Tools Customize and clicking the Keyboard button. This is discussed
at
http://www.word.mvps.org/FAQs/Custom...roToHotkey.htm.

In either case, although it's possible to do these things with macros,
it's a Bad Idea(tm) -- far more complicated than simply setting things
up once in the template.

5) Is there a way to save often used text, such as name and address, e-mail
address, MACROBUTTON NoMacro, etc. so that it can be inserted at a cursor
location? In other words, for example, I want to type my name and address
and save it. Then, I want to be able to position the cursor somewhere, right
click and be able to select from a menu option that pops open a list of all
the text I saved, and have it insert the text I select (my name and address,
for example) where the cursor is located.


You've just described the AutoText feature. The article about it on
the MVPs site happens to be mine. :-) Read
http://www.word.mvps.org/FAQs/Custom...n/AutoText.htm.

6) Is there a way to have Word open without a blank document showing when it
is first started? I want it to be like a browser window with nothing in it.
Then, when I select ‘New’ under File, it opens the first document in a new
window. The reason why I ask this is because I cannot find a way to close
the original blank page that opens up when Word is started without Word
closing entirely itself. In other words, selecting ‘Close’ under File when
attempting to close the original document now acts like ‘Exit’ under File.


You can modify the command line in the desktop icon that launches
Word. Right-click the icon and select Properties. Put the cursor in
the Target box, at the end after the WINWORD.EXE path. Type a space
and the code /n and then click OK. (Note: If the existing icon is
one where the Target box isn't selectable, you can make a new icon by
right-click-dragging the icon of WINWORD.EXE from Windows Explorer to
the desktop and selecting Create Shortcut Here from the popup.)

Unfortunately, there is no way to force this on other people's PCs,
and there's no easy way to accomplish it from inside your template
(because by definition Word has to be running already).

Besides that, you may find that certain things don't work properly
when there is no document open.

Thanks again.

gman


Glad to help!

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org