Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

It happens too often that I'm only wanting to print one page, but I move too fast and the entire document starts printing.

Is there a way to set up a large Word document to verify that I only want to print the current page I'm on?

share|improve this question
    
what version are you using? –  CharlieRB Sep 21 '12 at 19:41
    
Can you be a little more specific about what you are trying to do? What do yo mean you move to fast? Why don't you use the printing dialog which sets printing the current page only? –  Adam Sep 27 '12 at 0:39
1  
@Pnuts, thanks for the idea, I have added an answer which is hopefully the same thing the OP is looking for too. –  Adam Jan 13 '13 at 23:13
add comment

1 Answer

You could override the default print dialogs with your own defaults. You would only add this macro to the documents that you want to have different defaults for.

' Override File -> Print (does not work on Word 2010)
Sub FilePrint()
    Call ShowPrintDialogWithDefault
End Sub

' Override Ctrl + P or PrintPreview in the toolbar
Sub PrintPreviewAndPrint()
    Call ShowPrintDialogWithDefault
End Sub

' Override the Quick Print button
Sub FilePrintDefault()
    Call ShowPrintDialogWithDefault
End Sub

Sub ShowPrintDialogWithDefault()
    With Dialogs(wdDialogFilePrint)
        .Range = wdPrintCurrentPage ' Set print current page only as the default setting
        .Show
    End With
End Sub
share|improve this answer
    
Didn't realise a document I cloned recently had your code in it - came in very hand indeed (specially with a shared printer 50m away from me!) Can't offer you another upvote as I have +1'd already but I hope others will. –  pnuts May 3 '13 at 16:10
    
@Pnuts, Thanks, I'm glad it came in helpful for you. –  Adam May 4 '13 at 14:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.