Go to end of document

B

Bob S

Can somebody tell me what command I should enter into a vba macro to tell it
to go to the end of the document?

Also, if this question is too simple for this forum, could you tell me which
forum I should have submitted it to?
Thank you.
 
J

Jean-Guy Marcil

Bob S was telling us:
Bob S nous racontait que :
Can somebody tell me what command I should enter into a vba macro to
tell it to go to the end of the document?

Selection.Endkey wdStory
and
Selection.Homekey wdStory
for the beginning
Also, if this question is too simple for this forum, could you tell
me which forum I should have submitted it to?
Thank you.

You could try
microsoft.public.word.vba.beginners

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
[email protected]
Word MVP site: http://www.word.mvps.org
 
B

Bob S

Thank you very much for both the 2 commands (both of which I used in my
macro) and for the other news-group.
 
Top