View Single Post
  #8   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Word 2003/2007 Add in tool bar

You cannot store macros in a dotx template nor a docx document.

If you are using Word 2007 formats, for the macros to work they must be in a
dotm template or a docm document.

For a dot or dotm template to be used as an add-in, it should be installed
in the Word startup folder which by default is at

%APPDATA%\Microsoft\Word\STARTUP

Copy that to the Explorer address bar.

To create new documents from a macro enabled template dot or dotm, the
template must be in a trusted location for the macros to work.

The default location for templates is

%APPDATA%\Microsoft\Templates

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




sheila4typing wrote:
Can you tell me if it is the dotx or docx file I place in the
templates folder? Also if I use the dotx file it does not have the
add-in tab so I need to get that.
Thanks

"sheila4typing" wrote:

I guess the dotx file is the template since that is the one that has
corrections to it correct? I think the templates folder is
D:\Documents and Settings\e183540\Templates; which is where I placed
the dotx; which is not the one that has the add-in bar, correct? Do
I figure out how to enable the macros in that document? That
document is not the one that gave me the message about macros.

"Stefan Blom" wrote:

No, I'd place the template in the Templates folder.

--
Stefan Blom
Microsoft Word MVP



"sheila4typing" wrote in
message ...
Sorry I am a little lost.
Are you saying that both documents need to be put into the
templates folder
and enble the macros?

"Stefan Blom" wrote:

If one or more toolbar buttons make use of macros, the document or
template
containing that toolbar must be in a trusted location (such as the
templates
folder).

More importantly, note that *.docx and *.dotx files are always
macro-free,
which means that you
cannot use them with toolbars that depend on macros.

See also http://www.gmayor.com/Toolbars_in_word_2007.htm.

--
Stefan Blom
Microsoft Word MVP



"sheila4typing" wrote in
message
...
Thank you Stefan,
I do have the file with the Add-in tabs (dot file). I also have
the one
without (dotx file) the tab. My assumptions is the original
person opened
up
the dot file, made changes and then did a file save as; which
made it a dotx
file. When I open the docx file I get a dialog box that says The
macros in
this project are disabled. Then I have to click OK not sure how
to turn that
off or if it is needed. The dotx file does not do that. Since
the dotx
has
changes that is the one I need the add-in tab on and the icon
that are on
the
dot file associted with it.

"Stefan Blom" wrote:

Word 2007 uses the Add-Ins tab to display custom toolbars
created in earlier
versions of Word. Note that toolbars can be in a document or in
an associated template. If they are in the template you need
the template file
to see the Add-Ins tab when you open the document.

--
Stefan Blom
Microsoft Word MVP



"sheila4typing" wrote
in message
...
I have a word document I believe was created in 2003 (dot);
which has a
bunch
of icons under the add-ins tab like H1; which I assume means
header 1.
This
document was sent to another individual who has 2007 and not
sure what
was
done to it but when I open it in 2007 I do not even have the
Add-in tab.
So
my question is how do I get that add-in tab and transfer those
icons from
the
one version to 2007? Funny thing, when I open up the one that
I think
was
created in 2003 in my 2007 version I see the add-in, but when
I open up
the
version that was messed with I don't see any of that.
I hope this make since. I do not see a place to upload the
document to
show
you.
Thanks