Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Template.doc in SharePoint, lost buttons

Status
Not open for further replies.

into

Technical User
Dec 16, 2002
17
Hi.

I have a problem with my Word template, i have made som buttons in word that are saved in my document, but when i use the document as an template my buttons does not appear.

how can I call my subs and start my UserForm?


//Torfi
 
Not quite following. What do you mean exactly by "use the document as an template"? Is it actually saved as a template (.DOT) file, and then used as a template?

Gerry
My paintings and sculpture
 
Sorry, not in SharePoint server there i an .doc as an template but it works just like an .dot file.
 
Sorry...but a .DOC file does not in any way work "just like" a .DOT file.

A .DOC file MUST be opened.

A .DOT file (properly used) is cloned...never opened.

While it is true that one can use a document (.DOC) and act sort of, kind of, in some way, like it is a template...but in reality, it simply is not.

In any case:
how can I call my subs and start my UserForm?
is quite another issue. How are you starting them now?

Gerry
My paintings and sculpture
 
I wont argue with you becaus i think you know this better than me, but fom my point of view i creates a new document and the settings in SharePoint uses a .doc.

However, in my document i have a 3 buttons which runs my VBA code one of them starts my userform, but when i save my document as an .DOT with my buttons and VBA code the new document created from it does not includ my buttons.

sorry for any bad spelling.

//Torfi
 
1. If I make a file, with ActiveX buttons, and save it as a .DOT (template file), when I clone it - using File > New - the new document has the buttons, and they work.

2. I am confused. You state "the settings in SharePoint uses a .doc." - which implies it is in SharePoint. Yet, you also state that it is NOT in a SharePoint server. Which is it?

3. How - EXACTLY - are you making the new document from the file?

Gerry
My paintings and sculpture
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top