Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Combo Box Inside a Form

I want to have a combo box inside a form. This is different from just having a combo box in excel that is linked to a certain range for it's values (ListFillRange in properties of ComboBox). How do I tell a combo box inside of a form what the ListFillRange is?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default Combo Box Inside a Form

set the RowSpource property to something like this:-

sheet2!B3:B5

an alternative could be using code in the form's initialise event, like
this...
for rw = 1 to 10
combobox1.AddItem mysheet.cells(rw,2)
next


--
Patrick Molloy
Microsoft Excel MVP
----------------------------------
"Joe B." wrote in message
...
I want to have a combo box inside a form. This is different from just

having a combo box in excel that is linked to a certain range for it's
values (ListFillRange in properties of ComboBox). How do I tell a combo box
inside of a form what the ListFillRange is?


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
combo box - VBA form Roy Gudgeon[_2_] Excel Discussion (Misc queries) 3 March 15th 10 12:20 PM
linking a form combo box... results from the combo box to another Trey Excel Discussion (Misc queries) 1 July 15th 07 01:58 AM
combo boxes on a form Russell-stanely Excel Discussion (Misc queries) 3 July 5th 05 09:13 PM
Using a combo box in an Excel form xlcharlie Excel Discussion (Misc queries) 5 February 16th 05 04:47 PM
Form Combo Box Jeff Excel Discussion (Misc queries) 1 December 15th 04 04:10 PM


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