toolbar button assigned to published form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Im trying to allocate a toolbar button to run a form published in the
organizational library. If this code runs a form that is published in the
Inbox, how do I change the code for it to point to a form in the
organizational library?

code is:

Sub DisplayForm()
Set myFolder = Session.GetDefaultFolder(olFolderInbox)
Set myItem = myFolder.Items.Add("IPM.Note.Form Name")
myItem.Display
End Sub

Thank you
 
No change is needed. The code you have will load a form published in either
the Inbox, the Personal Forms library, or the Org Forms library.
 
Back
Top