Welcome to Lockergnome.com!
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Plot stamp or footer with "Create Date"

 
   Home -> Office -> Printing RSS
Next:  Printing: printing landscape Excel documents using vista OS  
Author Message
Raymond

External


Since: Jun 08, 2007
Posts: 4



(Msg. 1) Posted: Fri Jun 08, 2007 4:39 pm
Post subject: Plot stamp or footer with "Create Date"
Archived from groups: microsoft>public>excel>printing (more info?)

Hello,

I need my excel print jobs to have a footer that reports the file's "Create
Date" . Can anyone tell me how've they done this successfully?

Thanks!

Raymond
Back to top
Login to vote
Gord Dibben

External


Since: Feb 23, 2004
Posts: 8800



(Msg. 2) Posted: Fri Jun 08, 2007 6:26 pm
Post subject: Re: Plot stamp or footer with "Create Date" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Raymond

First you can copy this all-purpose UDF to your workbook into a general module.

Function DocProps(prop As String)
Application.Volatile
On Error GoTo err_value
DocProps = ActiveWorkbook.BuiltinDocumentProperties _
(prop)
Exit Function
err_value:
DocProps = CVErr(xlErrValue)
End Function

'=DOCPROPS("author")
'or
'=DOCPROPS("last save time")
'or
'DOCPROPS("creation date")

Then run this macro. Strip out what you don't want in the footer before
running.

Sub PathInFooter()
ActiveSheet.PageSetup.RightFooter = ActiveWorkbook.FullName & " " & _
ActiveSheet.Name & " " & Application.UserName & " " & Date _
& DocProps("creation date")
End Sub


Gord Dibben MS Excel MVP

On Fri, 8 Jun 2007 16:39:01 -0800, "Raymond" <raymondinak.RemoveThis@gmail.com> wrote:

>Hello,
>
>I need my excel print jobs to have a footer that reports the file's "Create
>Date" . Can anyone tell me how've they done this successfully?
>
>Thanks!
>
>Raymond
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Printing All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 General
 Microsoft Windows XP
 Microsoft Windows Vista
 Microsoft Windows (other)
  Microsoft Office
 Microsoft Office (other)
 Computer Security
 Linux
 Movies


[ Contact us | Terms of Service/Privacy Policy ]