Thread: OLE combobox
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jean-Yves[_2_] Jean-Yves[_2_] is offline
external usenet poster
 
Posts: 253
Default OLE combobox

Hi,

Correct
"Cells(row, column).Select" is True
If you want the value, remove .Select
Regards
JY

"Mikkan" wrote in message
...
Hi.
I have a little problem...
I have a macro that creates a OLE combobox1, with 3 different selections,
and puts it into a excel worksheet. Then when I have put the combobox into
the worksheet I have an other macro which should get the text from the
combobox and set it into av textbox which will be drawn in Visio. My

problem
is to get the text from the combobox.

This code is the one I use to try to get the selected text in the combobox
in the active worksheet.

Dim shpObjComp As Visio.Shape
shpObjComp.Text = Cells(row, column).Select

But the combobox items doesn't get into the shpObjComp, the shpObjComp

only
writes out "true"
Please help me! I dont know how to solve this!

/Mikkan