1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

    Yours,
    Chandoo
  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

is there a way to include the value of a named cell into a report header

Discussion in 'VBA Macros' started by DawnK, May 16, 2018 at 3:42 PM.

  1. DawnK

    DawnK New Member

    Messages:
    1
    I have many reports that are printed monthly, and each month I need to update the header to the current period. I have a named field (named "MODATE") with the correct text "January 31, 2018". I want to included the named field into the report header on each tab so that I only have to update "MODATE" each month and it will update each tab. Does anyone have any idea how that can be accomplished?

    Thank you
  2. Kenneth Hobson

    Kenneth Hobson Active Member

    Messages:
    194
    Welcome to the forum! I guess you could use a macro. Record one is easy to see how to code.

    =modate may suffice with the numeric format set the same.

    Or, you can set the number format in a formula. e.g. =TEXT(MODATE,"mm/dd/yyyy")

Share This Page