*.oft File Path

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
 
S

Sue Mosher [MVP]

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.
 

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