Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why no work? ComboBox1.Value = ComboBox1.Text

Status
Not open for further replies.

ctbaker

Programmer
May 8, 2003
26
US
I have a two column combobox where you select an item from the first column and the value is selected from the second column. I want to also allow people to enter by hand an item into the combobox. So, I was trying something like what is shown in the subject of this message:

ComboBox1.Value = ComboBox1.Text which is executed after the user types in the custom entry. I get the error:

"Could not set the Value property. Invalid property value."

Any ideas?

Thanks!
 
Hi Skip,

Thanks for the help. I tried what you gave me but I am getting a Permission Denied error when I try that option.

It is frustrating that a change from a 1 column combobox to a 2 column combobox (col 1 is Text and col 2 is Value) has turned out to be such a headache in how you handle things in Excel.

Thanks again,
Chad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top