Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default combobox additem

Hi

I created a userform with a combobox. Now, I wanna add items to the
combobox, but there appears nothing. How can I add items from a
non-private procedure?

greez
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default combobox additem

Not sure what you mean by a non-private procedure, but you add items like so

With

--

HTH

RP

"masterphilch" wrote in message
...
Hi

I created a userform with a combobox. Now, I wanna add items to the
combobox, but there appears nothing. How can I add items from a
non-private procedure?

greez



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default combobox additem

Try again.

Not sure what you mean by a non-private procedure, but you add items like so

With Me.cmbTest
.Additem "Bob"
.Additem "Bill"
'etc
End With

You can also link it to a worksheet with

Me.cmbTest.RowSource = "$A$1:$A$10"

--

HTH

RP

"masterphilch" wrote in message
...
Hi

I created a userform with a combobox. Now, I wanna add items to the
combobox, but there appears nothing. How can I add items from a
non-private procedure?

greez



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ComboBox AddItem code to reference cells in a Range HBC_MT Excel Discussion (Misc queries) 0 February 26th 09 04:05 PM
additem to combobox with an array jocke Excel Discussion (Misc queries) 2 September 29th 05 07:56 PM
AddItem Method - Combobox value Todd Huttenstine Excel Programming 2 April 21st 04 05:13 PM
additem to a combobox from other excel worksheet gelu Excel Programming 1 March 1st 04 04:36 PM
Multiple Column ComboBox using Additem Jimmi Excel Programming 2 September 24th 03 02:40 AM


All times are GMT +1. The time now is 06:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"