How to move cusor after inserting some OLEControlObject to a specified place?

A

Ahmad Jalil Qarshi

hi!

I have inserted an OLEControlObject into word document using vba as
following

Selection.InlineShapes.AddOLEControl(ClsType)

No after inserting it I tried to move cursor to the next line after the
Control. using

Selection.TypeParagraph()

it deleted the Control. So what should I do to avoid it. furthermore if i
want to move cursor one space after the Control.

Thanks in advance.

Ahmad Jalil Qarshi
 
W

Word Heretic

G'day "Ahmad Jalil Qarshi" <[email protected]>,

Selection.Move wdParagraph,1

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Ahmad Jalil Qarshi reckoned:
 

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