+ Reply to Thread
Results 1 to 7 of 7

Show month in header

Hybrid View

  1. #1
    Registered User
    Join Date
    07-09-2014
    Location
    Springfield, missouri
    MS-Off Ver
    2013
    Posts
    25

    Show month in header

    Is there a way (function or formula) to display only the current month in the header? I know I can display the current date, but I need it to display only the current month. Thanks.

  2. #2
    Forum Contributor stephenloky's Avatar
    Join Date
    07-10-2013
    Location
    Sao Paulo - Brazil
    MS-Off Ver
    Excel 2007
    Posts
    146

    Re: Show month in header

    =month(now())
    "The quieter you become, the more you are able to hear"

    Any reputation (*) points appreciated.

    "If you know yourself but not the enemy, for every victory gained, you will suffer defeat."

  3. #3
    Registered User
    Join Date
    07-09-2014
    Location
    Springfield, missouri
    MS-Off Ver
    2013
    Posts
    25

    Re: Show month in header

    That works in the spreadsheet, but when I try to put it in the header all it shows is the formula, not the result.

  4. #4
    Forum Contributor stephenloky's Avatar
    Join Date
    07-10-2013
    Location
    Sao Paulo - Brazil
    MS-Off Ver
    Excel 2007
    Posts
    146

    Re: Show month in header

    What header do you mean? I don't get it

  5. #5
    Registered User
    Join Date
    07-09-2014
    Location
    Springfield, missouri
    MS-Off Ver
    2013
    Posts
    25

    Re: Show month in header

    The header - click INSERT tab at the top, click HEADER & FOOTER on the TEXT toolbox. Click to add header. This is where I want to have the current month displayed.

  6. #6
    Forum Contributor stephenloky's Avatar
    Join Date
    07-10-2013
    Location
    Sao Paulo - Brazil
    MS-Off Ver
    Excel 2007
    Posts
    146

    Re: Show month in header

    Sub foo()
    
    With ActiveSheet.PageSetup
        .LeftHeader = Format(Now, "MMM")
    End With
    
    End Sub
    Should do the trick.

  7. #7
    Registered User
    Join Date
    07-09-2014
    Location
    Springfield, missouri
    MS-Off Ver
    2013
    Posts
    25

    Re: Show month in header

    This works fine, thanks.

+ 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. Month over Month formula to show increase or decrease in rankings for SEO
    By lindsbay in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2014, 03:03 AM
  2. SHow filter in a header.
    By Lensmeister in forum Excel General
    Replies: 1
    Last Post: 12-02-2013, 12:14 PM
  3. [SOLVED] display cell to show only Month/year to do sumif calc if today()= any day of month
    By fireguy7 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2013, 06:55 PM
  4. How to show the header of a value?
    By Jakkov in forum Excel General
    Replies: 6
    Last Post: 05-13-2011, 11:22 AM
  5. [SOLVED] show month number as month name in Excel?
    By Phil Hart in forum Excel General
    Replies: 3
    Last Post: 06-20-2005, 02:05 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