How to select a range of pages from whole document in Word?

Here are three methods to select a range of pages from a Word document:

Select a Range of Pages with Holding Shift in Word:

  1. Click on the start of the page you want to select.
  2. Hold down the Shift key.
  3. Scroll to the end of the page range you want to select.
  4. Click on the end of the content of the last page in the range.
  5. Now, the pages within the range are selected.

Select a Range of Pages with VBA:

  1. Press Alt + F11 to open the Microsoft Visual Basic for Applications window.
  2. Click on “Module” from the “Insert” tab.
  3. Copy and paste the following VBA code into the Module window:
Sub SelectPages()
Dim rgePages As Range
Selection.GoTo What:=wdGoToPage, Which:=wdGoToAbsolute, Count:=2
Set rgePages = Selection.Range
Selection.GoTo What:=wdGoToPage, Which:=wdGoToAbsolute, Count:=6
rgePages.End = Selection.Bookmarks("\Page").Range.End
rgePages.Select
End Sub
  1. Press F5 to run this code. It will select the pages from page 2 to page 6. You can adjust the page numbers in the code to select the desired range.
How to select a range of pages from whole document in Word

How to select a range of pages from whole document in Word

Gotkey.net
Logo
Compare items
  • Total (0)
Compare
0
Shopping cart