PC Review


Reply
Thread Tools Rate Thread

ComboBox Problems

 
 
mastermind
Guest
Posts: n/a
 
      24th Apr 2007
I would like the combo box to have a static set of values, but I don't
know how to do it. I have tried to use rowsource, but the three cells
I want are not together (D9,J9,D52), is there a way just to type in
the values I want on the list? Any help would be greatly appreciated.
Thank you.

 
Reply With Quote
 
 
 
 
Norman Jones
Guest
Posts: n/a
 
      24th Apr 2007
Hi Mastermind,

Perhaps, try something like:

'=============>>
Private Sub UserForm_Initialize()
With Me.ComboBox1
.AddItem "Value 1"
.AddItem "Value 2"
.AddItem "Value 3"
.ListIndex = 0
End With
End Sub
'<<=============


---
Regards,
Norman


"mastermind" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I would like the combo box to have a static set of values, but I don't
> know how to do it. I have tried to use rowsource, but the three cells
> I want are not together (D9,J9,D52), is there a way just to type in
> the values I want on the list? Any help would be greatly appreciated.
> Thank you.
>



 
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
ComboBox Problems =?Utf-8?B?dHJpbmk=?= Microsoft Excel Programming 1 9th Sep 2005 08:45 PM
Simulating Windows Explorer Style ComboBox problems - with .net ComboBox Deepak Malkan [Bentley] Microsoft Dot NET Framework Forms 5 15th May 2005 11:30 AM
Combobox Problems. =?Utf-8?B?ZnJlbWVudXN1bA==?= Microsoft Dot NET 0 16th Mar 2005 04:01 PM
ComboBox problems !! Jako Microsoft Excel Programming 7 21st Jun 2004 04:52 AM
ComboBox Problems Darrin Henry Microsoft Excel Programming 1 16th Sep 2003 01:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:48 AM.