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
(e-mail address removed)
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top