code vb in template

F

fff

Hello, is that in a Word template I have placed a button with a code that
inserts an image into a shape. The problem is when you open a new document
from the template, I get the button without the associated code. It is
possible to somehow make the routine created from the template exists for
each word document that I open from that template?

Thanks
 
D

Doug Robbins - Word MVP

Are you sure that you created to code in that template and not in the
normal.dot template.

If you create it in that template and then you use File>New and select the
template as the basis for the document that you want to create, the code
will be available for use in that document.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
Top