seeing Keyboard Shortcuts for attached 2003 template

G

gil

Hi All,

Is there a way using Word 2007 to see Keyboard Shortcuts for an attached template that has been brought forward and converted from Word 2003 to a "dotm" extension? I have many keyboard shortcuts in it. They still work, but assigning new additional shortcuts would be much easier if I could see the old ones.



The prior shortcuts do not show when I use Customize Keyboard/ Macros/ Save Changes in (attached template).



TIA,

Gil
 
D

DeanH

In 2007 do you not still have the optio to print the Key assignments?
In the Print dialog, bottom left (in 2000/2003 anyway) Print What options,
change to Key assignments.
Hope this helps
DeanH
 
P

Peter T. Daniels

In your Print dialog, the last option is "Print What?" is Keyboard
Shortcuts. This will give you a (very generously formatted) list of
your custom keyboard shortcuts. Print it to pdf unlues you want to use
up an awful lot of paper ... converting it to a Word file so you can
format it into something useful will take a long time because it will
be full of text boxes/frames that don't convert well.
 
G

gil

Hmmm. I was hoping for something easier. I have a large number of macros with shortcuts. And indeed, Printing Key Assignments
would take more than a hundred pages, I think.



The List Commands function seems only to show default Word Key Assignments, not ones created by the user.



I've not yet figured out how to print to PDF in "Print What/ Key Assignments/ Print to file." I do not have Adobe.



Cheers,

Gil



Ten Second Medical RecordTM

How you get to the macro depends on your version of Word. One way in
all versions is to press Alt + F8 to open the Macro dialog box, drop
down the arrow next to Macros In and select Word Commands, scroll down
the list and select ListCommands, then click Run.

Word 2007 has a ListCommands option you can drag to the QAT. Click
the Office Button/Word Options/Customize, change Choose Commands From
to All Commands.

Cheryl
 
G

gil

Aha. I think I see what I've done. I saved by personal template as ..dotm by simply renaming it from .dot. If I open the prior .dot file with Word 2007, the Key Assignments are still there. Perhaps I should leave it as "dot".

Gil



cheers all. I'll play with it some more.



Hi All,

Is there a way using Word 2007 to see Keyboard Shortcuts for an attached template that has been brought forward and converted from Word 2003 to a "dotm" extension? I have many keyboard shortcuts in it. They still work, but assigning new additional shortcuts would be much easier if I could see the old ones.



The prior shortcuts do not show when I use Customize Keyboard/ Macros/ Save Changes in (attached template).



TIA,

Gil
 
P

Peter T. Daniels

Print "Key assignments" using any pdf-maker as the "printer" -- from
force of habit I used pdf995 the first time, and it made a really
awful Word file when converted. When I did it the second time with
Acrobat, the conversion result was somewhat better.

So you should download one of the other free utilities, such as
primopdf or (someone just mentioned) cutepdf and see how they do.

(It seems unlikely that the free Word pdf-creator add-in would also
appear in the Print dialog, but maybe it does!)
 
G

gil

Thanks Peter. I'll consider it. This has been a recurrent issue for years.
Gil. :)


Print "Key assignments" using any pdf-maker as the "printer" -- from
force of habit I used pdf995 the first time, and it made a really
awful Word file when converted. When I did it the second time with
Acrobat, the conversion result was somewhat better.

So you should download one of the other free utilities, such as
primopdf or (someone just mentioned) cutepdf and see how they do.

(It seems unlikely that the free Word pdf-creator add-in would also
appear in the Print dialog, but maybe it does!)
 
G

Graham Mayor

Switch from the vba editor to the document editor and SaveAs > Word
Template - pick dotm as the file type.
Can you switch to plain text as some readers do not translate html
correctly.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

gil

Hi Graham,



By Document Editor, do you mean



Normal

Project (myProject)

Microsoft Word Objects

This Document (here?)

Forms

Modules



Or do you mean as though saving the document itself?



And I am now getting dotx's instead of dotm's. I think I need to take a break. Is not .dotx real? What happened to dotm?



I'll tune back in later today.



Gil
 
P

Peter T. Daniels

A .dotx is a Word2007 template that doesn't have any macros in it
(yet).

I haven't been able to follow most of what you're saying, but it seems
like you're trying to do things a very hard way! (Why are you even
accessing VBA when dealing with a template?)
 
G

gil

Thanks so much Peter. The dotx question was going to make me see if my psychiatrist had Saturday hours. ;) I never would have
figured that out.



Using the English word "template" is fraught with problems. In general use, it is a "pattern." In MS Word, it is both a document
file that is a form or pattern but it is also a ".dot" file, which I think, stands for "document template".



I go into my "templates" with "VBA" to modify my macros (code) and "UserForms" when needed. Isn't that why others go there?



Some people might keep all their code hidden within a ".doc" file. I've not done that.



I'm going to give this subject a rest for a couple of days.



Gil



A .dotx is a Word2007 template that doesn't have any macros in it
(yet).

I haven't been able to follow most of what you're saying, but it seems
like you're trying to do things a very hard way! (Why are you even
accessing VBA when dealing with a template?)
 
P

Peter T. Daniels

But AIUI (I don't do macros myself; I've gratefully copied a couple
from the kind MVPs here), you don't need to open a template to put a
macro into it; you create it in whichever document happens to be open,
and Word asks if you'd like it saved in your normal.dotm (or the
current template, or some other template) too.

There doesn't seem to be much reason to go into a template unless
something accidentally got changed (perhaps because some checkbox on a
formatting change was mistakenly checked), as in the frequent requests
answered with the standard "Blank Document Not Blank" fix frequently
referenced here.
 
G

Graham Mayor

No. A dotx is a template incapable of storing macros. You can create macros
in a dotx file, but if you want them to remain it must be saved as dotm.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

Graham Mayor

When working from within the VBA editor, which I agree would be necessary to
edit vba code, you can only save in its original format. If that format is
dot (Word 97-2003 template format) then that's what it will remain. There is
no Save As option in the VBA editor

In order to save the template in another format, it is necessary to quit the
VBA editor and return to the document view. In Word 2007 you may then, from
the Office Button > Save As > Word Template save as either dotx (the
default) or dotm - or you could leave it in its original dot format, which
Word 2007 will happily use.

If you want the macros to remain in a Word 2007 format template, then you
must change the file type from the Save As dialog (Save As Type - under the
filename box) to dotm. Saving as dotx (without macros) or dotm (with macros)
will not delete the original dot (Word 97-2003 format template).

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

gil

Thank you Graham. Your response is articulate and clear.



I was confused that you can save a "Word document" as a "template". I've played with it a little now and see how it works, I think.



If I switch to document view, and save as a template, I believe it will only save the code I have specified to be in that template
(plus the "document text"). In my case, I have an ATTACHED template that I've worked on for years. Sections of my attached dot
template code make reference to itself. None of the ATTACHED template code gets saved to the new document-template upon so "Saving
as dotm". But that's ok. I'm good for now.



As always, Thank You.



Hopefully this is no longer coming thru as html.



Gil
 
S

Stefan Blom

Yes, Save As lets you save the current file under a new name and in a
different file format (but note that you may not be able to change the file
format for a template).

Attaching a template to a document is an entirely different process, as you
have seen.
 
G

gil

Yep. :)


Stefan Blom said:
Yes, Save As lets you save the current file under a new name and in a
different file format (but note that you may not be able to change the file
format for a template).

Attaching a template to a document is an entirely different process, as you
have seen.
 

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