Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 159
Default Cannot see my combobox on my worksheet??

I created a combobox in a userform named CmboStnM and when I enter the
worksheet I am unable to see it. I am not sure how to write code to bind the
combobox to a column of cells?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Cannot see my combobox on my worksheet??

hi
if the combobox is on a form then you have to call the form to see it.
Load frmYourForm
frmYourform.Show 0 ' the zero means it's called as modal meaning you can
'click on the sheet and do work while
the form is open
' a modaless form freezes everything
until you click ok
you set the combo box contents on the property sheet. in design mode, right
click the combo box, scroll down to rowsource(for forms). enter the range.
programmily....
CmboStnM.columncount = 2 ' if you have more than one column of data.
CmboStnM.rowsource=range("yourrange")

regards
FSt1
"Mekinnik" wrote:

I created a combobox in a userform named CmboStnM and when I enter the
worksheet I am unable to see it. I am not sure how to write code to bind the
combobox to a column of cells?

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 Control on Worksheet [email protected] Excel Programming 2 May 14th 07 06:24 PM
Selecting a worksheet from a combobox rowlo-efc Excel Programming 2 July 17th 06 09:29 AM
Worksheet Combobox mudraker Excel Discussion (Misc queries) 1 April 11th 06 02:22 AM
Copying Worksheet triggers Click event of combobox on another worksheet Robert[_20_] Excel Programming 0 January 23rd 04 07:40 PM
populating a combobox on a worksheet Tim Marsh[_2_] Excel Programming 2 November 3rd 03 12:44 PM


All times are GMT +1. The time now is 04:31 PM.

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"