Format of Header Date

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a monthly spreadsheet report in which I have to change the date in the
header each month before I publish it. I would like to avoid doing that by
having the header date change automatically. I used the &[Date] feature but
it formats the date 11-11-07.

I want the date formatted like: November 2007

Is it possible to do this?

Thanks...............TomCat
 
I have a monthly spreadsheet report in which I have to change the date in the
header each month before I publish it. I would like to avoid doing that by
having the header date change automatically. I used the &[Date] feature but
it formats the date 11-11-07.

I want the date formatted like: November 2007

Is it possible to do this?

Thanks...............TomCat

Hi, excuse me my english by the answer is:

ActiveSheet.PageSetup.CenterHeader = Format(Now, "MMM DD, YYYY")

Bye
 
You are stuck with whatever Regional and Language Options allows you for a short
date format.

MMMM YYYY is not one of them.

Go with the macro provided in the other post.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Format Header Date 4
formatting dates 12
Date Menace 2
Macro for Dates 5
Calculating the number of months 2
Cell Format - Date 2
Excel Vba to change displayed year automatically. 14
Calculating interest due on late loan payments 1

Back
Top