How to print only selected rows in a word document

H

harry

how to print only selected rows in a word document,I can highlight the rows
but when I go to print I am unable to select the select button I am using
Vista
 
B

BO

Harry,

Are you wanting to quickly print snippets of text periodically or print for
instance one paragraph from every page as a single printed document. If the
latter would it be possible to select the desired content and simply paste
into a new document for printing?

Cheers
 
G

Graham Mayor

The print selection option does not work in a table.

The following macro will print selected text in a table or elsewhere to the
current active printer

Sub PrintSelected()
Application.ScreenUpdating = False
On Error GoTo Oops
Selection.Copy
Documents.Add
Selection.Paste
With ActiveDocument
.PrintOut
.Close wdDoNotSaveChanges
End With
Application.ScreenUpdating = True
End
Oops:
MsgBox "Select the text you wish to copy first!"
Application.ScreenUpdating = True
End Sub

Note Vista is an operating system not a Word version and does not affect the
issue.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top