Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Last save data placed in Footer?

I found this simple code (below) to place the date and time my file was last
saved into cell "A1". I like it a lot, but now I need to put the date and
time the file was last saved into the center section of a footer. How do I
specify that placement?

Quin



Private Sub Workbook_Beforesave(ByVal saveasiu As Boolean, Cancel As Boolean)

Sheets(1).Range("A1").Value = Now

End Sub

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Last save data placed in Footer?

Try this example Quin

http://www.rondebruin.nl/print.htm#Saved

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Quin" wrote in message ...
I found this simple code (below) to place the date and time my file was last
saved into cell "A1". I like it a lot, but now I need to put the date and
time the file was last saved into the center section of a footer. How do I
specify that placement?

Quin



Private Sub Workbook_Beforesave(ByVal saveasiu As Boolean, Cancel As Boolean)

Sheets(1).Range("A1").Value = Now

End Sub

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Last save data placed in Footer?

That is WONDERFUL ! The directions were easy and it works GREAT !
Quin

"Ron de Bruin" wrote:

Try this example Quin

http://www.rondebruin.nl/print.htm#Saved

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Quin" wrote in message ...
I found this simple code (below) to place the date and time my file was last
saved into cell "A1". I like it a lot, but now I need to put the date and
time the file was last saved into the center section of a footer. How do I
specify that placement?

Quin



Private Sub Workbook_Beforesave(ByVal saveasiu As Boolean, Cancel As Boolean)

Sheets(1).Range("A1").Value = Now

End Sub


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
Is it possible to save a custom header or footer? bduser Excel Discussion (Misc queries) 1 June 17th 07 11:30 PM
Save Custom Footer travismp Excel Discussion (Misc queries) 0 February 17th 06 07:45 PM
Save a header or Footer Steve B Excel Discussion (Misc queries) 0 November 21st 05 06:40 PM
changing footer before save Karthik Palaniappan Excel Programming 4 June 21st 04 06:38 AM
Landscape Orientation when Footer set using mso-footer-data Disappear Vish[_2_] Excel Programming 0 November 14th 03 09:28 PM


All times are GMT +1. The time now is 06:43 AM.

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"