Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Opening a Word Template from Access


Message #1 by "Tammy Tappan" <GRTappan@e...> on Sun, 18 Nov 2001 03:09:47
I can see the simple way to open an existing Word document from an Access 

command button. However, the document is a template, & I don't want the 

.dot to open, I want it to open as an unnamed .doc; any ideas?



+Tammy
Message #2 by "Pardee, Roy E" <roy.e.pardee@l...> on Mon, 19 Nov 2001 07:32:10 -0800
I believe there are command line switches you can use to tell Word to base a

new doc on a specific template--you might have a look at Word's help file

for those.  If I'm right, I expect you could just Shell() out to Word...



HTH,



-Roy



Roy Pardee

Programmer/Analyst

SWFPAC Lockheed Martin IT

Extension 8487



-----Original Message-----

From: Tammy Tappan [mailto:GRTappan@e...]

Sent: Saturday, November 17, 2001 7:10 PM

To: Access

Subject: [access] Opening a Word Template from Access





I can see the simple way to open an existing Word document from an Access 

command button. However, the document is a template, & I don't want the 

.dot to open, I want it to open as an unnamed .doc; any ideas?



+Tammy




Message #3 by "Joseph N. Stackhouse" <joe@s...> on Tue, 20 Nov 2001 08:51:00 -0500
You can open a template using switches, however you must include the

full path name to the template.



For instance if your using shell:

"C:\Program Files\Microsoft Office\Office\Winword.exe /t" & """" &

"c:\program files\microsoft office\templates\1033\contemporary fax.dot"

& """"



You must include quotes around the path to the template.



Some more information about word switches can be found at:

http://support.microsoft.com/support/kb/articles/Q210/5/65.ASP



-----Original Message-----

From: Pardee, Roy E [mailto:roy.e.pardee@l...] 

Sent: Monday, November 19, 2001 10:32 AM

To: Access

Subject: [access] RE: Opening a Word Template from Access





I believe there are command line switches you can use to tell Word to

base a new doc on a specific template--you might have a look at Word's

help file for those.  If I'm right, I expect you could just Shell() out

to Word...



HTH,



-Roy



Roy Pardee

Programmer/Analyst

SWFPAC Lockheed Martin IT

Extension 8487



-----Original Message-----

From: Tammy Tappan [mailto:GRTappan@e...]

Sent: Saturday, November 17, 2001 7:10 PM

To: Access

Subject: [access] Opening a Word Template from Access





I can see the simple way to open an existing Word document from an

Access 

command button. However, the document is a template, & I don't want the 

.dot to open, I want it to open as an unnamed .doc; any ideas?



+Tammy

---

You are currently subscribed to access as: roy.e.pardee@l... To

unsubscribe send a blank email to $subst('Email.Unsub')



---

You are currently subscribed to access as: joe@s... To

unsubscribe send a blank email to $subst('Email.Unsub')






  Return to Index