|
|
|
|
|
|
Word
|
Print Current Page
|
|
Ease of Use
|
Easy
|
Version tested with
|
2000
|
Submitted by:
|
Anne Troy
|
Description:
|
Prints the page on which your cursor is currently placed.
|
Discussion:
|
I'll never know why Microsoft doesn't add this button to the toolbar, but you can do this real easy. Just record a macro of yourself printing the current page and add a toolbar button that runs it, or follow these instructions, and add a toolbar button to run it.
|
Code:
|
instructions for use
|
Sub PrintCurr()
Application.PrintOut FileName:="", Range:=wdPrintCurrentPage
End Sub
|
How to use:
|
- Copy the code above.
- Open Word.
- Hit Alt+F11 to open the Visual Basic Editor (VBE).
- On the left, double-click "normal" or "normal.dot".
- Then, under normal.dot, double-click ThisDocument.
- Paste the code into the window that appears at right.
- Hit the save diskette and close the VBE window.
- Add a toolbar button, using Tools-Customize, that runs the macro. Put it up next to your printer toolbar button if you use it a lot.
|
Test the code:
|
- Even before you add the toolbar button, you should test your code by hitting Tools-Macro-Macros and double-click PrintCurr.
|
Sample File:
|
No Attachment
|
Approved by Anne Troy
|
This entry has been viewed 127 times.
|
|