Skip to main content

How to print multiple selected rows on one page in Excel?

Author: Kelly Last Modified: 2017-03-28

When printing selections in Excel, inconsecutive ranges will be printed on separated pages. In some cases, we may only need to print some selected rows/ranges on one page from a long table, but these selected rows/ranges are not consecutive. Therefore, how to print these rows/ranges on one page in Excel? There are several solutions:

Print multiple selected rows on one page with VBA

Print multiple selected rows on one page with copying to one worksheet

Print multiple selected rows on one page with Kutools for Excel

Batch print multiple selections (all print areas) on one page in Excel

Kutools for Excel's Print Multiple Selections Wizard can help you not only print all print areas from the same worksheet on one page easily, but also print multiple ranges from many worksheets on one page easily.

ad print multiple selections 2


Here I will talk about printing multiple selected rows on one page with VBA in Excel. Please do as follows:

1. Press Alt + F11 keys simultaneously to open the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and then paste the below VBA code into new opening Module window.

VBA: Print multiple selected rows on one page in Excel

Sub Extract_to_Print()
Dim Rg As Range, Rg1 As Range, Rg2 As Range
Dim xAddress As String
Dim xSht As Worksheet
Dim I As Long
Dim xScreenUpdate As Boolean
Dim xAlert As Boolean
On Error Resume Next
xAddress = Application.ActiveWindow.RangeSelection.Address
Set Rg = Application.InputBox("Please select ranges you will print:", "Kutools for Excel", xAddress, , , , , 8)
If Rg Is Nothing Then Exit Sub
xScreenUpdate = Application.ScreenUpdating
xAlert = Application.DisplayAlerts
Application.ScreenUpdating = False
Application.DisplayAlerts = False
Set xSht = ThisWorkbook.Worksheets.Add
I = 1
For Each Rg1 In Rg.Areas
Rg1.Copy xSht.Range("A" & I)
I = I + Rg1.Rows.Count
Next
xSht.PrintOut
xSht.Delete
Application.ScreenUpdating = xScreenUpdate
Application.DisplayAlerts = xAlert
End Sub

3. Press F5 key or click the Run button to run this VBA.

4. Now a Kutools for Excel dialog box pops up. Please select multiple rows that you will print, and click the OK button to print these rows.

Note: Holding the Ctrl key, you can select multiple nonadjacent rows at the same time.


If we can copy these inconsecutive rows and paste as a consecutive range in other worksheet, we can easily print them on one page. This method will introduce Kutools for Excel’s Copy Ranges utility to deal with it.

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

1. Create a new worksheet, next select rows that you will print from your table, and click Kutools > Copy Ranges.

Note: Holding the Ctrl key, you can select multiple inconsecutive rows at the same time.

2. In the opening Copy Multiple Ranges dialog box, check All option, and click the Ok button.

Note: The Including row height option and Including column width options will copy selected ranges’ row heights and column widths and pasted into destination range.

3. Select the Cell A1 in the new created worksheet, and click the OK Button.

4. Stay in the destination worksheet, and click Kutools > Delete > Delete Blank Rows > In Active Sheet.

And then a dialog box comes out and shows you how many rows have been deleted. Just close it.

5. Click the File (or Office button) > Print to print these rows.

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with no credit card required! Get It Now


Actually Kutools for Excel designs Print Multiple Selection Wizard to print multiple ranges together in Excel.

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

1. Click Enterprise > Printing > Print Multiple Selection Wizard to open the Print Multiple Selection Wizard.

2. In the opening Print Multiple Selection Wizard, click Add button  to add rows that you will print together, and click the Finish button.

Notes:

(1) After clicking the Add button , you can select multiple inconsecutive ranges in one worksheet by holding the Ctrl key and then selecting them one by one;

(2) To remove a range/row from the Ranges to print list, just select this range/row and click the Delete button.

(3) This utility does not support print entire rows and columns, such as entire row of $4:$4, or entire column of $B:$B.

3. Selected rows/ranges have been pasted as linked pictures in a new worksheet. Go ahead to click File (or Office button) > Print to print it.

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with no credit card required! Get It Now


Kutools for Excel: Over 300 handy tools at your fingertips! Start your 30-day free trial with no feature limitations today. Download Now!

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations