A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

VBA or VBScript



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 29th 06, 12:17 AM posted to microsoft.public.outlook.program_vba
goshute
external usenet poster
 
Posts: 6
Default VBA or VBScript

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.

Ads
  #2  
Old March 29th 06, 01:01 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default VBA or VBScript

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook form with VBScript saved as an OFT? Sydney Outlook - Using Forms 1 March 24th 06 05:51 AM
VBscript support Outlook forms Peter S Outlook - Installation 0 March 6th 06 04:15 PM
VBscript to pull the first 3 lines out of Outlook email messages scriptnewbie Outlook and VBA 3 February 18th 06 09:48 AM
open outlook data files from vbscript / macro? Mad Scientist Jr Outlook and VBA 2 January 24th 06 10: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 07:00 AM


All times are GMT +1. The time now is 07:32 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.