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.

Move cursor out of text box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
quartz - 03 Jun 2005 13:33 GMT
I am using Office 2003 on Windows XP.

I wrote some code that adds a text box to a page and formats it. This code
works fine, but when it's done, the cursor is left inside the text box. I
would like the cursor to finish at the beginning of the document. I tried to
record a macro, but the recorder doesn't pick up the mouse clicks. I also
tried the following without success:

ActiveDocument.HomeKey Unit:=wdStory

Can someone please post example code that will move the cursor out of a text
box and place it at the beginning of the current document? Thanks much in
advance.
quartz - 03 Jun 2005 15:12 GMT
Please note: I was able to use the following successfully:

ActiveDocument.Range(Start:=0, End:=0).Select

> I am using Office 2003 on Windows XP.
>
[quoted text clipped - 9 lines]
> box and place it at the beginning of the current document? Thanks much in
> advance.
 
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.