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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Outlook 2010 - macro to display template email

Status
Not open for further replies.

pendle666

Technical User
Jan 30, 2003
295
GB
Hello

I've got the following which is supposed to display a template email I have:

Sub send_extension_general()

Set myItem = Application.CreateItemFromTemplate _
("I:\UserAppData\Office2010\Template\Extension or end of contract confirmation.oft")
myItem.Display
End Sub


Most of the time it works, but sometimes, like now, it's not. I have tried closing Outlook and restarting but without success.

Is there anything else I need to do?

Thanks
 
Has your drive mapping changed?

I'd recommend NOT using a drive reference for a file saved on a server. Rather, use the logical server name like...
Code:
Z:\SkipVought\MyFile.txt

Becomes...

\\dfwsrv222\public\SkipVought\MyFile.txt

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Hi

I'll give that a try and see what happens.

thanks

Pendle.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top