![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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! |
#2
|
|||
|
|||
![]()
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 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Default User" wrote in message ... 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) ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Emailing a Post form | robert | Outlook and VBA | 4 | November 1st 06 08:33 PM |
RecipientControl in Post custom form | Bill | Outlook - Using Forms | 1 | May 11th 06 08:32 PM |
How to keep Post Form anonymous when printing or saving? | andreag | Outlook - Using Forms | 1 | May 11th 06 06:29 PM |
Errors in sending a post form in Outlook 2k | Desiboy | Outlook and VBA | 7 | May 4th 06 08:53 PM |
Auto Number in a Custom Post Form | Chuck Rich | Outlook - Using Forms | 1 | February 13th 06 07:28 PM |