RE: Move cursor out of text box
- From: quartz <quartz@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 3 Jun 2005 07:12:13 -0700
Please note: I was able to use the following successfully:
ActiveDocument.Range(Start:=0, End:=0).Select
"quartz" wrote:
> 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.
.
- References:
- Move cursor out of text box
- From: quartz
- Move cursor out of text box
- Prev by Date: Re: Signing macro
- Next by Date: Using GetAddress
- Previous by thread: Move cursor out of text box
- Next by thread: Using GetAddress
- Index(es):
Relevant Pages
|