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

Listbox or Combobox? Need a drop down list but...



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 17th 09, 12:34 AM posted to microsoft.public.outlook.program_vba
cmonroe21 via OfficeKB.com
external usenet poster
 
Posts: 53
Default Listbox or Combobox? Need a drop down list but...

I need a control to look like a combo box (offers an accessible drop down
list) but act like a listbox (cannot add your own value)... I CANNOT allow
the user to type in their own value, they MUST choose from the list! But
want a drop down list because the list is WAY too long to display it all. I
like the single initial value in there and an arrow that, when clicked,
displayed the rest of the list.

So, I made a combo box thinking I could play with it, but I haven't been able
to get it to behave the way I need it to. The enable and locked properties
don't work... they don't allow my user to access the drop down list at all.
Is there a way to modify a combobox to initially be empty or display an
arbitrary (unchangeable) initial value, but have a list to choose from when
the down arrow is clicked? Or is there a way to make a listbox behave this
way instead? Where the user has to select a value from a drop down list, but
cannot enter a value of their own? I just need to know which properties to
play with.

Please help!

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...g-vba/200901/1

Ads
  #2  
Old January 17th 09, 07:06 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Listbox or Combobox? Need a drop down list but...



It's Style=DropdownList

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Fri, 16 Jan 2009 23:34:12 GMT schrieb cmonroe21 via OfficeKB.com:

I need a control to look like a combo box (offers an accessible drop down
list) but act like a listbox (cannot add your own value)... I CANNOT

allow
the user to type in their own value, they MUST choose from the list! But
want a drop down list because the list is WAY too long to display it all.

I
like the single initial value in there and an arrow that, when clicked,
displayed the rest of the list.

So, I made a combo box thinking I could play with it, but I haven't been

able
to get it to behave the way I need it to. The enable and locked

properties
don't work... they don't allow my user to access the drop down list at

all.
Is there a way to modify a combobox to initially be empty or display an
arbitrary (unchangeable) initial value, but have a list to choose from

when
the down arrow is clicked? Or is there a way to make a listbox behave

this
way instead? Where the user has to select a value from a drop down list,

but
cannot enter a value of their own? I just need to know which properties

to
play with.

Please help!

 




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 2003: Is there any way of making the contacts list of asecondary mailbox appear in the address book drop down list? QH Outlook - Installation 1 May 16th 08 12:14 PM
Outlook 2003: Is there any way of making the contacts list of asecondary mailbox appear in the address book drop down list? QH Outlook - Using Contacts 1 May 16th 08 12:14 PM
How to get the index of the current selected line in ComboBox/ListBox bbnimda Outlook - Using Forms 1 January 25th 08 12:43 PM
Dist List Listbox gp[_2_] Outlook and VBA 1 January 2nd 08 03:39 PM
Distribution List Listbox gp[_2_] Outlook - General Queries 1 January 1st 08 10:22 PM


All times are GMT +1. The time now is 08:53 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.