+ Reply to Thread
Results 1 to 2 of 2

fx for create date

  1. #1
    clowns
    Guest

    fx for create date

    formula for showing creation date on a protected sheet

  2. #2
    Gord Dibben
    Guest

    Re: fx for create date

    clowns

    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("last author")
    'or
    '=DOCPROPS("last save time")
    'or
    'DOCPROPS("creation date")

    If not familiar with VBA and macros, see David McRitchie's site for more on
    "getting started".

    http://www.mvps.org/dmcritchie/excel/getstarted.htm

    In the meantime..........

    To create a General Module, hit ALT + F11 to open the Visual Basic Editor.

    Hit CRTL + R to open Project Explorer.

    Find your workbook/project and select it.

    Right-click and Insert>Module. Paste the above code in there. Save the
    workbook and hit ALT + Q to return to your workbook.

    Enter the formula as shown above.


    Gord Dibben Excel MVP



    On Tue, 18 Jul 2006 13:22:01 -0700, clowns <[email protected]>
    wrote:

    >formula for showing creation date on a protected sheet


    Gord Dibben MS Excel MVP

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1