Identify public folder that form is used in.

G

Guest

I have a custom Outlook form that is to be used in many public folders for a
post. In the script, how would I identify the folder that a user is starting
a new post so I can set some variables to match that folder.
Thanks,
 
S

Sue Mosher [MVP-Outlook]

Here's an example.

Function Item_Open()
MsgBox Application.ActiveExplorer.CurrentFolder.Name
End Function
 

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