Hi,
I have an Outlook public form that I want to open with VB code.
I've found here the next script, but I don't know what's the path to the form (I choose it from organizational forms library).
How can I found out the path? Is there another way to do it?

VB Code:
  1. Private Sub Command1_Click()
  2.     Dim oApp As Outlook.Application
  3.     Dim oMsg As Outlook.MailItem
  4.  
  5.     Set oApp = New Outlook.Application
  6.     Set oMsg = oApp.CreateItemFromTemplate("D:\Development\Outlook\Outlook Template\Message Test.oft")
  7.     If Not oMsg Is Nothing Then
  8.         oMsg.Display vbModal
  9.     Else
  10.         MsgBox "Couldnt find your template!"
  11.     End If
  12.     oApp.Quit
  13.     Set oApp = Nothing
  14. End Sub