Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / March 2006

Tip: Looking for answers? Try searching our database.

VBA or VBScript

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
goshute - 29 Mar 2006 00:17 GMT
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.
Sue Mosher [MVP-Outlook] - 29 Mar 2006 01:01 GMT
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/community/en-us/default.mspx?dg=microsoft.public
.outlook.program_forms


Signature

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
 

>I have been programming Access and Excel for years and now doing some
> Outlook - and hating VBScript - too BIG of a learning curve.
[quoted text clipped - 4 lines]
> 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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.