Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Static Date in Header/Footer

Hi Everyone, I know it's possible to add a date to a header or a footer by
using &[Date], however when the next user opens the file, it puts in
today's date (the date that the file was opened). I would like to know if
it's possible to use a command to add in a static date in the header/footer
instead of manually typing it in. I have a macro to format the spreadsheet
the way I want it, and this is my only problem right now.

Thanks in advance for any help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Static Date in Header/Footer

Sub CellInFooter()
With ActiveSheet
.PageSetup.CenterFooter = Format(Date, "mmmm dd yyyy")
End With
End Sub


Gord Dibben MS Excel MVP

On Fri, 5 Oct 2007 09:40:00 -0700, BabzQue
wrote:

Hi Everyone, I know it's possible to add a date to a header or a footer by
using &[Date], however when the next user opens the file, it puts in
today's date (the date that the file was opened). I would like to know if
it's possible to use a command to add in a static date in the header/footer
instead of manually typing it in. I have a macro to format the spreadsheet
the way I want it, and this is my only problem right now.

Thanks in advance for any help.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Static Date in Header/Footer

Thanks Gord but will this make the date static? My problem now is if I save
this file and another user opens it on a different date, the date in the
header becomes the current day that the user opened the file. I want the
header to always have the date I created it.

Any help would be appreciated.




"Gord Dibben" wrote:

Sub CellInFooter()
With ActiveSheet
.PageSetup.CenterFooter = Format(Date, "mmmm dd yyyy")
End With
End Sub


Gord Dibben MS Excel MVP

On Fri, 5 Oct 2007 09:40:00 -0700, BabzQue
wrote:

Hi Everyone, I know it's possible to add a date to a header or a footer by
using &[Date], however when the next user opens the file, it puts in
today's date (the date that the file was opened). I would like to know if
it's possible to use a command to add in a static date in the header/footer
instead of manually typing it in. I have a macro to format the spreadsheet
the way I want it, and this is my only problem right now.

Thanks in advance for any help.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Static Date in Header/Footer

It will insert a static date.


Gord

On Mon, 8 Oct 2007 13:22:04 -0700, BabzQue
wrote:

Thanks Gord but will this make the date static? My problem now is if I save
this file and another user opens it on a different date, the date in the
header becomes the current day that the user opened the file. I want the
header to always have the date I created it.

Any help would be appreciated.




"Gord Dibben" wrote:

Sub CellInFooter()
With ActiveSheet
.PageSetup.CenterFooter = Format(Date, "mmmm dd yyyy")
End With
End Sub


Gord Dibben MS Excel MVP

On Fri, 5 Oct 2007 09:40:00 -0700, BabzQue
wrote:

Hi Everyone, I know it's possible to add a date to a header or a footer by
using &[Date], however when the next user opens the file, it puts in
today's date (the date that the file was opened). I would like to know if
it's possible to use a command to add in a static date in the header/footer
instead of manually typing it in. I have a macro to format the spreadsheet
the way I want it, and this is my only problem right now.

Thanks in advance for any help.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can you format a date in the header/footer of Excel sheet SAM SEBAIHI Excel Discussion (Misc queries) 4 December 11th 06 05:50 PM
Static Header Row Andrew Chalk Excel Discussion (Misc queries) 7 January 4th 06 03:11 AM
How do I use long date format in a header or footer? Long Date Format in Excel Excel Discussion (Misc queries) 1 November 17th 05 01:23 AM
Date formula for footer/header Kurtlee Excel Discussion (Misc queries) 1 November 4th 05 05:01 PM
Formatting Date in Header & Footer Eliza Excel Discussion (Misc queries) 1 March 15th 05 09:17 PM


All times are GMT +1. The time now is 01:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"