Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / June 2005

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ahmad Jalil Qarshi - 22 Jun 2005 07:57 GMT
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
David Sisson - 22 Jun 2005 16:31 GMT
Selection.Collapse wdCollapseEnd
Selection.MoveDown wdParagraph, 1
Word Heretic - 24 Jun 2005 04:05 GMT
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!
>
[quoted text clipped - 14 lines]
>
>Ahmad Jalil Qarshi
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.