*.oft File Path

  • Thread starter Thread starter ClulessChris
  • Start date Start date
C

ClulessChris

Is there a method compatible with .oft files (Outlook
forms templates) and VBS that will on launch return the
file's file path? I've tried 'App.Path' & 'Item.Path' to
no avail.

I'm placing these files on a number of common drive on the
company network in order for them to be accessible to
staff. I find however that staff tend to save these files
else where, resulting in there not use the latest version
(should this form have been updated). I would like to use
something along the lines of the following:

Function Item_Open()

If App.Path <> sPath then
Item.Delete
Exit Function
End If

End Function
 
No. Outlook doesn't care anything about the template file path once the form
launches.

Ideally, you should not be using .oft files at all and should use only
published forms.
 
Back
Top