Change postion of OLEcontrol

K

Koos Koets

Hello,

With the next statements you can genereate a Word document and add a
combobox to the document.

Set oWrd = CreateObject("Word.Application")
oWrd.ActiveDocument.InlineShapes.AddOLEControl
(ClassType:="Forms.ComboBox.1")

By default is the position of the combobox the top left corner. I like to
change this position to the end of line of the next line.
Does anyone know a solution??

Thanks

Bye Freek
 
Top