+ Reply to Thread
Results 1 to 4 of 4

msgbox displaying time passed since last save

  1. #1
    Registered User
    Join Date
    03-03-2007
    Location
    Winnipeg, Manitoba, Canada
    Posts
    12

    Question msgbox displaying time passed since last save

    I have the following code:

    Please Login or Register  to view this content.
    but i would like to expand the "welcome back" msgbox to also display "the last time you were was was (eg: 2 days/3 hrs/14 min) ago" - which i presume would be calculated from the last save.

    I did ask this question in another forum but after a few hours, i was unsuccessful in getting a solution at this time.

    Any assistance or redirection would be greatly appreciated.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    A quick search brought me to this site

    http://www.cpearson.com/excel/docprop.htm

    I don't know if it will help but could be good information

  3. #3
    Registered User
    Join Date
    03-03-2007
    Location
    Winnipeg, Manitoba, Canada
    Posts
    12

    Thank you

    Thanks for your time davesexcel. I will take a look at it and maybe it will work for me.

    Thanks again.

  4. #4
    Registered User
    Join Date
    03-03-2007
    Location
    Winnipeg, Manitoba, Canada
    Posts
    12

    Nice try

    That helped a bit davesexcel.

    However i had to still figure lots out. Using ActiveWorkbook.BuiltinDocumentProperties.Item(12) - setting it into a worksheet and using date functions in excel, separating the info, comparing it to NOW() and then drawing them back to workbook_activate and concatenating everything in a msgbox.

    Now it does EXACTLY what i wanted it to do!
    Last edited by Jedody; 03-08-2007 at 01:12 AM.

+ 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