Hyperlinking to templates revisited

K

Kirsten

Hello, I read in a previous post that you can't use a hyperlink to create a
new document based on a template (thanks to Charles Kenyon for that
information). Charles suggested that a macro be created. I'm running into
the same problem, with a twist.

I am trying to do a hyperlink from MS Project to a Word Template. (When
adding a task, I do a hyperlink to the associated Word template.) I'm not
sure how I would use a macro in such a case. Are there any other
work-arounds I can do in Project? Thanks for any tips!

-Kirsten
 
K

Kirsten

Oh, and one more thing. According to Microsoft Knowledge Base Article -
278627 , you CAN do a hyperlink to a template from a Web Browser that will
open up a new document. (You just have to right-click and select "open in
new window".) So why can't you do it from any other Microsoft applications?


...
 
C

Charles Kenyon

I doubt you get a new document under these circumstances.

I just tried it with Explorer 6 and Word 2003 and it opened the template.

It does open in a new window, but it is the existing template.

I haven't worked in Project enough to know if it has anything comparable to
a MacroButton field. You should be able to write a macro in Project that
creates a new document based on a Word template. It would be a Word vba
command, probably prefaced by the application as in:

Word.Documents.Add Template:="MyTemplate.dot"

Note that I've never tried this, I'm just speculating. If you do write a
macro, even if it can't be started using a macrobutton field, you could
create a custom menu (on a custom toolbar) to create the document.
--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
K

Kirsten

I doubt you get a new document under these circumstances.

Thanks for the verification Charles.
I haven't worked in Project enough to know if it has anything comparable to
a MacroButton field. You should be able to write a macro in Project that
creates a new document based on a Word template. It would be a Word vba
command, probably prefaced by the application as in:

Word.Documents.Add Template:="MyTemplate.dot"

Note that I've never tried this, I'm just speculating. If you do write a
macro, even if it can't be started using a macrobutton field, you could
create a custom menu (on a custom toolbar) to create the document.

Thanks again. I like the idea of the custom menu. I'll keep that in mind!
I'm off to the Project newsgroups. :)
 
Top