You can use macros attached to toolbar buttons
http://www.gmayor.com/installing_macro.htm or macrobutton fields
http://www.gmayor.com/Macrobutton.htm .
For the first macro
Sub SelectAPage()
Dim sPage As String
Dim nPages As Long
nPages = Selection.Information(wdNumberOfPagesInDocument)
Start:
sPage = InputBox("Go to which page number?", "Page?", 15)
If Not IsNumeric(sPage) Then
MsgBox "You must enter a number!", vbOKOnly, "Error"
GoTo Start
End If
If sPage > nPages Then
MsgBox "There are only " & nPages & " pages in the document!", _
vbOKOnly, "Error"
GoTo Start
End If
Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, name:=sPage
End Sub
The print macro would be very similar
Sub PrintAPage()
Dim sPage As String
Dim nPages As Long
nPages = Selection.Information(wdNumberOfPagesInDocument)
Start:
sPage = InputBox("Print which page number?", "Page?", 15)
If Not IsNumeric(sPage) Then
MsgBox "You must enter a number!", vbOKOnly, "Error"
GoTo Start
End If
If sPage > nPages Then
MsgBox "There are only " & nPages & " pages in the document!", _
vbOKOnly, "Error"
GoTo Start
End If
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, Pages:=sPage,
Copies:=1
End Sub
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>