Opening Templates in Word not Internet Explorer

J

Jamie

I originally posted this in the General Questions area and another user
posted their own question within my thread, so my question was never answered.

I am using Word 2003. We have hundreds of templates that we are making
accessible through our agency's intranet. The templates open up in Internet
Explorer. I would like them to open up in Word. I know that you can go
through Folder Options, File Types, click on the doc extention, click on the
Advanced button and uncheck the Browse in same window.

This would work great if I only had a few computers that needed to be
changed. However, we have hundreds. Is there a macro I can include with
each template that will instruct the template to open in Word and not
Internet Explorer?
 
J

Jean-Guy Marcil

Jamie was telling us:
Jamie nous racontait que :
I originally posted this in the General Questions area and another
user
posted their own question within my thread, so my question was never
answered.

I am using Word 2003. We have hundreds of templates that we are
making accessible through our agency's intranet. The templates open
up in Internet Explorer. I would like them to open up in Word. I
know that you can go through Folder Options, File Types, click on the
doc extention, click on the Advanced button and uncheck the Browse in
same window.

This would work great if I only had a few computers that needed to be
changed. However, we have hundreds. Is there a macro I can include
with each template that will instruct the template to open in Word
and not Internet Explorer?

Use code on the web page so that user will open a document based on the
template instead of opening the template itself... But you will have to make
tests to see what happens under your set up...
Here is some Java to get you going...

<script language="JavaScript">
function runWord(strFile)
{
var myWord = new ActiveXObject("Word.Application");
myWord.Visible = true;
myWord.Documents.Add Template:=strFile;
}

</script>

<a href="javascript:runWord('http://myserver/document.dot');">Create
Document</a>
 

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