Printing a Week of Planner Sheets

Written by Allen Wyatt (last updated August 27, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


1

Sandra has an Excel worksheet that she uses as a daily planner. She would like to specify a beginning date for the planner and then print out seven copies of the worksheet, one for each day of the week starting on that date. Her desire is to have the correct date in the footer for each printout, so she wonders if there is a way to print a full week of her daily planner automatically.

One way you could do this is to put seven worksheets in your workbook, and have each of them be exactly the same. You can then place the date in the last row of the worksheet (the last row to be printed on the page) and have that row contain the desired date. Each worksheet could base the date in that last row on the date in the previous worksheet, so that all you need to do is to change the date on the first worksheet and the dates on the subsequent worksheets will automatically update.

If you absolutely want the date in the footer, then the only way to automate the printing is to use a macro. The idea would be to print, with the macro, seven copies of the worksheet, but before printing each one you would update the footer to the desired date.

Sub PrintPlanner()
    Dim dBegDate As Date
    Dim J As Integer
    Dim sFmt As String

    ' Format to be used for footer date
    sFmt = "mm/dd/yy (dddd)"

    If IsDate(Range("$A$1")) Then
        dBegDate = Range("$A$1").Value
        For J = 0 To 6
            With ActiveSheet
                .PageSetup.CenterFooter = Format(dBegDate + J, sFmt)
                .Printout
            End With 
        Next J
    Else
        MsgBox "Invalid beginning date specified"
    EndIf
End Sub

When you run this macro, it prints seven copies of the active worksheet with a different date in each footer. Note that the macro looks to the date in cell A1 and uses that as the starting date for the footers. The date is stuffed into the center section of the footer, though you could change .CenterFooter to either .LeftFooter or .RightFooter, if desired. You can also modify the Format function to use a different format for the date.

If you decide you want to store the beginning date in a different cell than A1, note that there are two places in the macro where that cell specification will need to be modified.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12955) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Ignoring the Spelling of Proper Nouns

Proper nouns (such as the names of people) are routinely marked as incorrect by Word's spell checker. If you are tired of ...

Discover More

Loading Unwanted Files at Startup

Imagine how painful it would be if every time you started Excel it tried to load all the files in your root directory? ...

Discover More

Unwanted Vertical Lines in a Table

When you print a table that includes borders, those borders should be crisp and clear on the printout. If you get some ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Using the Keyboard to Control Page Display in Print Preview

Sometimes it is just easier to use the keyboard than it is to use the mouse. If you are a keyboard-oriented person, you ...

Discover More

Omitting Page Numbers on Some Pages

Excel doesn't allow for as robust of headers and footers as Word does. Even so, there are some things you can do to ...

Discover More

Fitting Your Printout on a Page

Tired of wasting paper when you print a worksheet? You can scale Excel's output so that it fits only the number of pages ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two more than 7?

2022-08-31 15:22:49

Sandra Gentry

Thank you, I am going to try today!!


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.