Thread: OLE combobox
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mikkan Mikkan is offline
external usenet poster
 
Posts: 3
Default OLE combobox

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