+ Reply to Thread
Results 1 to 5 of 5

Multiple Charts to Print with Same Footer

  1. #1
    Registered User
    Join Date
    08-18-2017
    Location
    USA
    MS-Off Ver
    2013, 2016
    Posts
    23

    Multiple Charts to Print with Same Footer

    Good Afternoon All,

    I have about 8 charts that I print off on a weekly/monthly basis. I print these off 1 to a page. I want to have in the bottom right footer:

    Posted: 05Dec17
    Remove: 04Jan18

    Is there a way to do this automatically? Or is my best option to utilize the custom footer in page setup and change it every time I need to? I tried to dabble in VBA, not very good at all, but I think since I am only printing the chart as an object it will not register the need for a footer.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,908

    Re: Multiple Charts to Print with Same Footer

    This is kind of kludgey but: make the chart. Select the chart area and move it up a bit to make some room for a text box. Insert a text box at the bottom of the chart. Give the chart and the text box a name.

    Then you can use the following code to set the text box in the chart.
    Please Login or Register  to view this content.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    08-18-2017
    Location
    USA
    MS-Off Ver
    2013, 2016
    Posts
    23

    Re: Multiple Charts to Print with Same Footer

    Thanks, some of the charts are already very "busy" and if I start condensing the area it will not look right. I think I will just have to go with the custom footer. Thanks for your suggestion!

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,908

    Re: Multiple Charts to Print with Same Footer

    OK, I can do better.

    I assume that you will want to "compute" the footer. I did this in the attached spreadsheet in cell E4. Select a cell where you want to do this and give it a name "My_Footer." The program looks for this specific name to insert the footer.

    Copy the code at the bottom of the post into a module.

    The code can be used in two ways:

    Stand-alone mode: You can map a control key to the macro, Print_Chart. Select a chart and press the control key. You can print a single chart this way.

    All-charts mode: Either map a control key, or put a button somewhere on the report linked to the macro PrintAllCharts (I can explain how to do this if you want to do this)

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-18-2017
    Location
    USA
    MS-Off Ver
    2013, 2016
    Posts
    23

    Re: Multiple Charts to Print with Same Footer

    Wow this looks really good! I am only at my desk for a couple hours today. I will take a look at it tomorrow and get back to you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 06-20-2014, 02:42 PM
  2. How to print multiple embed charts in one page?
    By aruaru in forum Excel General
    Replies: 2
    Last Post: 01-07-2010, 03:14 PM
  3. Help! How to print multiple charts on the same page
    By Boon8888 in forum Excel General
    Replies: 1
    Last Post: 02-23-2006, 02:55 PM
  4. View Header/Footer in Charts
    By Janet in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-06-2005, 06:05 AM
  5. Replies: 8
    Last Post: 07-04-2005, 05:05 PM
  6. Replies: 2
    Last Post: 07-04-2005, 12:05 PM
  7. Replies: 1
    Last Post: 02-18-2005, 06:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1