Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to select range of pages in MS Word?

6,010 views
Skip to first unread message

Huub

unread,
Apr 30, 2007, 4:38:04 PM4/30/07
to
It is easy to select 1 page,the current page (Selection.GoTo
What:=wdGoToBookmark, Name:="\page"), but how to select multiple pages, eg
page 2 - 4


Jean-Guy Marcil

unread,
Apr 30, 2007, 5:16:48 PM4/30/07
to
Huub was telling us:
Huub nous racontait que :

> It is easy to select 1 page,the current page (Selection.GoTo
> What:=wdGoToBookmark, Name:="\page"), but how to select multiple
> pages, eg page 2 - 4

Like this:

Dim rgePages As Range

Selection.GoTo What:=wdGoToPage, Which:=wdGoToAbsolute, Count:=2

Set rgePages = Selection.Range

Selection.GoTo What:=wdGoToPage, Which:=wdGoToAbsolute, Count:=4

rgePages.End = Selection.Bookmarks("\Page").Range.End

rgePages.Select

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarci...@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org


Huub

unread,
May 1, 2007, 1:42:00 PM5/1/07
to
Jean-Guy
mercy beaucoup !
I did the selection range start/end thing and tried something with wdExtend,
but this is much simpeler!

Huub.

wlfoote

unread,
Mar 11, 2010, 8:45:02 PM3/11/10
to

"Huub" wrote:

> how to select multiple pages, eg
> page 2 - 4
>

Reducing the view to < 50% produces a single sheet of thumbnails. Then,
using Go To Page [number] and scrolling with the cursor depressed provides an
easy way to select and extract (or delete) large sections of contiguous
pages.


sanghi...@gmail.com

unread,
May 17, 2013, 2:48:18 AM5/17/13
to
Thx Huub , your answer really helped!
0 new messages