Re: Code to go to first character in the page
- From: Christian Freßdorf <ungueltig@xxxxxxxxxxxxxx>
- Date: Wed, 14 Sep 2005 17:21:45 +0200
Hi
> Does anyone know a piece of code that would move you to the first character
> in the current page of a document? I am new to Word VBA and finding it not
> the easiest, if anyone can help that would be great.
this moves the selection before the first char of the page
Sub FirstCharOfPage()
Selection.Bookmarks("\Page").Select
Selection.Collapse wdCollapseStart
End Sub
--
regards Christian
~~~~~~~~~~~~~~~~
reply only to this newsgroup
http://www.mvps.org/word/FindHelp/Posting.htm
.
- Prev by Date: Microsoft Word 2002 Macro HELP...Please rush
- Next by Date: formula in word
- Previous by thread: Microsoft Word 2002 Macro HELP...Please rush
- Next by thread: Re: Code to go to first character in the page
- Index(es):
Relevant Pages
|