Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to figure out how to insert a formula in a footer so that when
the page is printed the current date and time will appear but i also want to include an as of date. My as of date will always be the monday prior to the print date. Is this possible? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Belinda,
If you put the date and time in the right side of the footer, then you can use code to update the left side with your As of: ActiveSheet.PageSetup.LeftFooter = "As of " & Format(Date - Weekday(Date, 2) + 1, "mmmm d, yyyy") HTH, Bernie MS Excel MVP "Belinda7237" wrote in message ... I am trying to figure out how to insert a formula in a footer so that when the page is printed the current date and time will appear but i also want to include an as of date. My as of date will always be the monday prior to the print date. Is this possible? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
thanks, but I have one more question - when i am in page setup and insert
that into the footer it comes out as is - how do i insert code into the footer? (sorry a first for me) "Bernie Deitrick" wrote: Belinda, If you put the date and time in the right side of the footer, then you can use code to update the left side with your As of: ActiveSheet.PageSetup.LeftFooter = "As of " & Format(Date - Weekday(Date, 2) + 1, "mmmm d, yyyy") HTH, Bernie MS Excel MVP "Belinda7237" wrote in message ... I am trying to figure out how to insert a formula in a footer so that when the page is printed the current date and time will appear but i also want to include an as of date. My as of date will always be the monday prior to the print date. Is this possible? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Belinda,
You cannot insert code into the footer - the best you can do is use the code I posted in a macro, or in the beforeprint event. Bernie "Belinda7237" wrote in message ... thanks, but I have one more question - when i am in page setup and insert that into the footer it comes out as is - how do i insert code into the footer? (sorry a first for me) "Bernie Deitrick" wrote: Belinda, If you put the date and time in the right side of the footer, then you can use code to update the left side with your As of: ActiveSheet.PageSetup.LeftFooter = "As of " & Format(Date - Weekday(Date, 2) + 1, "mmmm d, yyyy") HTH, Bernie MS Excel MVP "Belinda7237" wrote in message ... I am trying to figure out how to insert a formula in a footer so that when the page is printed the current date and time will appear but i also want to include an as of date. My as of date will always be the monday prior to the print date. Is this possible? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calculate Date in Footer | Excel Worksheet Functions | |||
Date formula for footer/header | Excel Discussion (Misc queries) | |||
How can I get yesterdays date in a custom footer &[DATE]-1 does . | Charts and Charting in Excel | |||
How do I format the date in a footer? | Excel Discussion (Misc queries) | |||
Date in Footer | Excel Worksheet Functions |