Can someone post a VB snippet to change some form settings?

D

Default User

Hi,

We have a custom form with a few check boxes and a couple entry fields. I
need some VB code that will set a couple of the check boxes to true and then
put a date in an entry field. Does anyone have a code sample that can do
this? How do I reference the currently opened message (with the custom
form) ?

Thanks for the help,

Alan
http://www.sadevelopment.com
Partition Boot Manager and Large Drive Tools utilities!
 
S

Sue Mosher [MVP-Outlook]

From VB/VBA, you can use the Application.ActiveInspector.CurrentItem method from the Outlook object model to return the currently open item. In the VBScript code behind a custom form, you'd use the intrinsic Item object.

See http://www.outlookcode.com/article.aspx?ID=38 for a primer on working with Outlook property and control values.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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