Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
BD
 
Posts: n/a
Default Update a Date Quarterly

I work for a financial institution, and we have reports that are updated
quarterly. The reports are in PowerPoint 2003, though there are embedded
Excel spreadsheets. After the reports are generated each quarter (March 31,
June 30, September 30 and December 31) afterwards we are forced to manually
update the date from one to another, using the Find and Replace tool (because
the date is listed in the footer of each page). Is there a function I could
create for it to be down manually? Thanks.

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

This will base it upon today's date


Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet.PageSetup
.LeftFooter = Format(DateSerial(Year(Date), _
(Int((Month(Date) - 1) / 3) + 1) * 3 + 1, 0), "mmmm dd")
End With
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code



--

HTH

RP
(remove nothere from the email address if mailing direct)


"BD" wrote in message
...
I work for a financial institution, and we have reports that are updated
quarterly. The reports are in PowerPoint 2003, though there are embedded
Excel spreadsheets. After the reports are generated each quarter (March

31,
June 30, September 30 and December 31) afterwards we are forced to

manually
update the date from one to another, using the Find and Replace tool

(because
the date is listed in the footer of each page). Is there a function I

could
create for it to be down manually? Thanks.



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 do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
Update cell based on date range deversole Excel Discussion (Misc queries) 3 July 6th 05 01:58 PM
Automatic Date Update khaji00 Excel Discussion (Misc queries) 2 June 22nd 05 11:48 PM
How do you continuously update time and date in an Excel cell? engine99 Excel Worksheet Functions 7 February 21st 05 02:20 AM
Automatically enter date and time but only update once. PM New Users to Excel 3 January 21st 05 07:47 AM


All times are GMT +1. The time now is 09:02 AM.

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

About Us

"It's about Microsoft Excel"