hi Wooonelly,
Paste this code into a new module:
VB Code:
Sub Select20Lines()
Dim lines_no As Long
Dim text_selection As Selection
lines_no = ActiveDocument.ComputeStatistics(wdStatisticLines)
If lines_no < 20 Then
MsgBox "Not enough lines to select!"
Exit Sub
End If
Selection.GoTo wdGoToLine, wdGoToAbsolute, (lines_no - 19)
Selection.Expand wdLine
Selection.MoveEnd wdLine, 19
ActiveDocument.PrintOut , , wdPrintSelection
End Sub
This code selects 20 last lines in document and prints it. Hope it is what you needed.
regards,
sweet_dreams