PC Review


Reply
Thread Tools Rate Thread

determing what item in combobox is selected?

 
 
Ron
Guest
Posts: n/a
 
      2nd Feb 2007
Hello,
How do I determine which item in a combo box the user selected? Say I
have a combo box with All, Some, None and I want to write code for a
button like this?...

if combobox.userselected = "All" then
(20*12)
end if

I was thinking it would be :
if cboselected.items = All then ...

thanks for any help

 
Reply With Quote
 
 
 
 
Stephany Young
Guest
Posts: n/a
 
      2nd Feb 2007
If CType(cboselected.SelectedItem, String) = "All" Then
...


"Ron" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
> How do I determine which item in a combo box the user selected? Say I
> have a combo box with All, Some, None and I want to write code for a
> button like this?...
>
> if combobox.userselected = "All" then
> (20*12)
> end if
>
> I was thinking it would be :
> if cboselected.items = All then ...
>
> thanks for any help
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get selected item of ComboBox Aejaz Rathore Microsoft C# .NET 1 22nd Dec 2009 04:52 PM
ComboBox - selected item not set Backwater Geezer Microsoft Dot NET Framework Forms 2 9th Feb 2009 02:12 PM
Combobox not display selected item Mark Boettcher Microsoft C# .NET 3 21st Dec 2007 07:43 PM
combobox item selected =?Utf-8?B?UExE?= Microsoft Access Forms 0 1st Mar 2007 12:51 PM
ComboBox selected item ballabali Microsoft Excel Discussion 1 15th Dec 2005 03:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:50 AM.