How to print rows repeatedly at the bottom of every printed page in Excel?

By default, Excel provides feature for users to print rows repeatedly at top. But in some cases, you may prefer to print rows repeatedly at the bottom of pages except at top. This article will show you little tricks.

Print rows repeatedly at the bottom with VBA code


Print rows repeatedly at the bottom with VBA code

You can run the below VBA code to insert the specified row into the footer of every page. And then you can print this row repeatedly at the bottom of every printed page in Excel.

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

2. In the Microsoft Visual Basic for Application window dialog box, click Insert > Module. And then copy and paste the below VBA code into the Module window.

VBA code: Insert specified row into footers of every printed page

Sub MyFooter()
	Dim xTxt As String
	Dim xAddress As String
	Dim xRg As Range
	Dim xCell As Range
	On Error Resume Next
	xAddress = ActiveWindow.RangeSelection.Address
	Set xRg  = Application.InputBox("Select the row you will insert repeatedly at the bottom:", "Kutools for Excel", xAddress, , , , , 8)
	If xRg Is Nothing Then Exit Sub
		For Each xCell In xRg
			xTxt = xTxt & xCell.Value & " "
		Next
		ActiveSheet.PageSetup.LeftFooter = xTxt
	End Sub

3. Press the F5 key to run the code. Then a Kutools for Excel dialog box pops up, please select the row you need to print repeatedly at bottom of every printed page, and then click the OK button.

Now the specified row contents are added to the footer of every printed page in current worksheet. You can start print the worksheet.

Note: If you want to print the selected content repeatedly at bottom of each page within the whole workbook, you can apply the footer function to insert the contents into footer of all sheets.


Easily repeat title rows in every nth rows in Excel:

Kutools for Excel's Insert Title Rows utility can hep you quickly insert title row before every nth row in a selected range in Excel as the below screenshot shown.
Download and try it now! ( 30-day free trail)


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

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!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    IncredibleTim · 1 years ago
    Hi,

    I've been trying to use the above code but when I try to print te code it doesn't work. I followed all above steps and it doesn't give me any errors.
    I'm using office 365. Any tips ?

    Thanks in advance,
    • To post as a guest, your comment is unpublished.
      crystal · 11 months ago
      Hi Tim,
      Hi, the selected row will be inserted into the page footer, you need to switch to the Page Layout view to check for the result. Thank you for your comment.
  • To post as a guest, your comment is unpublished.
    Tim · 1 years ago
    Hi,

    When I start the macro and select the wished rows it doesn't work when I try to print. What can this be?
    Using office 365.

    Thanks,
  • To post as a guest, your comment is unpublished.
    SVazquez · 1 years ago
    Hi,
    I am trying a few times but it's not working. Please advise.
    • To post as a guest, your comment is unpublished.
      crystal · 1 years ago
      Good day,
      Thank you for your comment. Which Office version do you use?
      • To post as a guest, your comment is unpublished.
        Ram · 5 months ago
        If I may, I use Office365 but its not working. Have tried putting the view on Page Layout Mode to no avail. Hope you can help. Thanks.
  • To post as a guest, your comment is unpublished.
    Shakeel Rao · 2 years ago
    Thank you So Muchhhh...
    It helped me very much.
  • To post as a guest, your comment is unpublished.
    vijay · 3 years ago
    Thanks for sharing.

    is any possibility of VBA code to repeated footer same as with "print titles" option including lines and auto page number.

    if possible please help me.
  • To post as a guest, your comment is unpublished.
    Vamsi · 3 years ago
    Thanks for sharing the macro to repeat the rows at the bottom of the page.

    Can this Macro be modified to Repeat selected Rows with the format as well..
    In the provided Macro only Values are repeated at the bottom of each page, I am looking forward to copy the format as well at the bottom of the page..
  • To post as a guest, your comment is unpublished.
    Prayerson Khristi · 3 years ago
    Thanks a lot.

    This macro serves my purpose,

    Thanks to the creator and the person who had shared Macro
  • To post as a guest, your comment is unpublished.
    Prayerson Khristi · 3 years ago
    Thanks for Macro sharing. It serves my purpose. Thanks a lot.