Word

Move Pages by Selecting One Page at a Time

Ease of Use

Easy

Version tested with

2000 

Submitted by:

Anne Troy

Description:

Allows you to move pages around by selecting a page full of text in your document. 

Discussion:

Go to View-Zoom and choose the multiple pages option. You can easily move pages around by selecting with this macro, then click and drag to the appropriate location. Not recommended for lengthy documents unless there is no other alternative. 

Code:

instructions for use

			

Sub GrabPage() Selection.GoTo What:=wdGoToBookmark, Name:="\page" End Sub

How to use:

  1. Copy the code above.
  2. Open your document.
  3. Hit Alt+F11 to open the Visual Basic Editor (VBE).
  4. From the menu, choose Insert-Module.
  5. Paste the code into the code window at right.
  6. Close the VBE and save the file if desired.
 

Test the code:

  1. Hit Tools-Macro-Macros and double-click GrabPage.
  2. If this does what you like, assign the macro to a toolbar button or shortcut key.
 

Sample File:

sample.zip 5.22KB 

Approved by mdmackillop


This entry has been viewed 93 times.

Please read our Legal Information and Privacy Policy
Copyright @2004 - 2020 VBA Express