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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top