PC Review


Reply
Thread Tools Rate Thread

Cannot see my combobox on my worksheet??

 
 
=?Utf-8?B?TWVraW5uaWs=?=
Guest
Posts: n/a
 
      4th Oct 2007
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 With Quote
 
 
 
 
=?Utf-8?B?RlN0MQ==?=
Guest
Posts: n/a
 
      4th Oct 2007
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 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
copy from combobox to worksheet antonvanelteren Microsoft Excel Programming 1 26th Aug 2009 04:27 PM
AddItem to Worksheet ComboBox Paul D Byrne Microsoft Excel Programming 2 25th Jul 2008 04:28 AM
Worksheet Combobox mudraker Microsoft Excel Misc 1 11th Apr 2006 02:22 AM
Combobox on a worksheet Terry Microsoft Excel New Users 6 20th Apr 2004 07:01 PM
Copying Worksheet triggers Click event of combobox on another worksheet Robert Microsoft Excel Programming 0 23rd Jan 2004 07:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:42 PM.