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

Outlook 2k3 Script: Pb Using ComboBox



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 30th 06, 09:27 PM posted to microsoft.public.outlook.program_vba
bbnimda
external usenet poster
 
Posts: 29
Default Outlook 2k3 Script: Pb Using ComboBox

Hi All,

When I use this function with my ComboBox
MyControl.PossibleValue = "Thing1;thing2; etc... ;thingx"

Something goes wrong in my form
1) I can't new Item in my folder
2) My saved Item (created with my form), became using the default task.imp

when I use

MyControl.AddItem "thing1"
MyControl.AddItem "thing2"
..
..
MyControl.AddItem "thingX"

All is working fine

But I really need to use possible value in my form So I wonder if someone
can Help Me

Tks


  #2  
Old November 30th 06, 09:51 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outlook 2k3 Script: Pb Using ComboBox

You should never use PossibleValues in script code. See http://www.outlookcode.com/d/formcontrols.htm#listcombo

--
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

"bbnimda" wrote in message ...
Hi All,

When I use this function with my ComboBox
MyControl.PossibleValue = "Thing1;thing2; etc... ;thingx"

Something goes wrong in my form
1) I can't new Item in my folder
2) My saved Item (created with my form), became using the default task.imp

when I use

MyControl.AddItem "thing1"
MyControl.AddItem "thing2"
.
.
MyControl.AddItem "thingX"

All is working fine

But I really need to use possible value in my form So I wonder if someone
can Help Me

Tks


  #3  
Old December 1st 06, 10:03 AM posted to microsoft.public.outlook.program_vba
news.microsoft.com
external usenet poster
 
Posts: 65
Default Outlook 2k3 Script: Pb Using ComboBox

Hi Sue ,

Is there an other Instruction, that allow adding a list of item in one line
like PossibleValue ?

I use this instruction tu set up Combo content , regarding to a selected
item in an other combo.

And it's not easy to use 20 times .AddItem each time

Tks



"Sue Mosher [MVP-Outlook]" a écrit dans le message
de news: ...
You should never use PossibleValues in script code. See
http://www.outlookcode.com/d/formcontrols.htm#listcombo

--
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

"bbnimda" wrote in message
...
Hi All,

When I use this function with my ComboBox
MyControl.PossibleValue = "Thing1;thing2; etc... ;thingx"

Something goes wrong in my form
1) I can't new Item in my folder
2) My saved Item (created with my form), became using the default
task.imp

when I use

MyControl.AddItem "thing1"
MyControl.AddItem "thing2"
.
.
MyControl.AddItem "thingX"

All is working fine

But I really need to use possible value in my form So I wonder if someone
can Help Me

Tks




  #4  
Old December 1st 06, 05:54 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outlook 2k3 Script: Pb Using ComboBox

Did you look at the page I suggested and the sample form? Setting List is what you what to do.

--
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

"news.microsoft.com" wrote in message ...
Hi Sue ,

Is there an other Instruction, that allow adding a list of item in one line
like PossibleValue ?

I use this instruction tu set up Combo content , regarding to a selected
item in an other combo.

And it's not easy to use 20 times .AddItem each time

Tks



"Sue Mosher [MVP-Outlook]" a écrit dans le message
de news: ...
You should never use PossibleValues in script code. See
http://www.outlookcode.com/d/formcontrols.htm#listcombo

"bbnimda" wrote in message
...
Hi All,

When I use this function with my ComboBox
MyControl.PossibleValue = "Thing1;thing2; etc... ;thingx"

Something goes wrong in my form
1) I can't new Item in my folder
2) My saved Item (created with my form), became using the default
task.imp

when I use

MyControl.AddItem "thing1"
MyControl.AddItem "thing2"
.
.
MyControl.AddItem "thingX"

All is working fine

But I really need to use possible value in my form So I wonder if someone
can Help Me

Tks




 




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
Outlk 2k3 Script: Saving Excel File programticaly from OUTLOOK SCRIPT news.microsoft.com Outlook and VBA 3 November 22nd 06 04:33 PM
Outlook 2k3 Script: Pb While exporting to Excel news.microsoft.com Outlook and VBA 1 November 14th 06 06:24 PM
Outlook 2k3 Script: ProgressBar while exporting ??? bbnimda Outlook and VBA 2 November 13th 06 09:26 AM
Outlook 2k3 Script: Ordering a combo news.microsoft.com Outlook and VBA 1 November 10th 06 05:05 PM
Outlook 2k3 RPC over HTTP Script vzerbonia Outlook - Installation 0 July 27th 06 08:35 PM


All times are GMT +1. The time now is 11:30 PM.


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