![]() |
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
|
|||
|
|||
![]()
I have been programming Access and Excel for years and now doing some
Outlook - and hating VBScript - too BIG of a learning curve. I am in the process of developing a new user form and was wondering if there is any way to use VBA instead of VBScript behind the form. I want to populate a list box based upon a value entered into a combo box, then unenable the list box. There does not seem to be any way to do either. I have tried several examples and nothing works. |
#2
|
|||
|
|||
![]()
No, the code behind an Outlook form can only be VBScript, and the form must be published to run any code at all.
What you want to do is certainly possible. The event you'll use depends on whether the combo box is bound to a built-in property, a custom property or no property. See http://www.outlookcode.com/d/propsyntax and http://www.outlookcode.com/d/formcontrols.htm#listcombo FYI, there is a newsgroup specifically for Outlook forms issues "down the hall" at microsoft.public.outlook.program_forms or, via web interface, at http://www.microsoft.com/office/comm...rogram_f orms -- 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 "goshute" wrote in message oups.com... I have been programming Access and Excel for years and now doing some Outlook - and hating VBScript - too BIG of a learning curve. I am in the process of developing a new user form and was wondering if there is any way to use VBA instead of VBScript behind the form. I want to populate a list box based upon a value entered into a combo box, then unenable the list box. There does not seem to be any way to do either. I have tried several examples and nothing works. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook form with VBScript saved as an OFT? | Sydney | Outlook - Using Forms | 1 | March 24th 06 06:51 AM |
VBscript support Outlook forms | Peter S | Outlook - Installation | 0 | March 6th 06 05:15 PM |
VBscript to pull the first 3 lines out of Outlook email messages | scriptnewbie | Outlook and VBA | 3 | February 18th 06 10:48 AM |
open outlook data files from vbscript / macro? | Mad Scientist Jr | Outlook and VBA | 2 | January 24th 06 11:20 PM |
Outlook automatic folder categorization with shifting of the whole correspondence into the new built subfolder - VBScript needed | Michael Bauer | Outlook and VBA | 0 | January 9th 06 08:00 AM |