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

RE: How to move cusor after inserting some OLEControlObject to a speci by DavidSisson

DavidSisson
Wed Jun 22 10:31:05 CDT 2005

Selection.Collapse wdCollapseEnd
Selection.MoveDown wdParagraph, 1


Re: How to move cusor after inserting some OLEControlObject to a specified place? by Word

Word
Thu Jun 23 22:12:04 CDT 2005

G'day "Ahmad Jalil Qarshi" <ahmaddearNO@SPAMhotmail.com>,

Selection.Move wdParagraph,1

Steve Hudson - Word Heretic

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


Ahmad Jalil Qarshi reckoned:

>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
>
>
>