+ Reply to Thread
Results 1 to 4 of 4

Can I get the last modified date and time of a module, form and sheet?

  1. #1
    Forum Contributor
    Join Date
    03-05-2007
    Location
    Falmouth, VA now, Palm Bay, FL for 2 yrs, was Colorado Springs, CO for ten years; Cedark Park, TX; Zeeland, MI; Wilmette, IL; Princeton Junction, NJ; NY, NY
    MS-Off Ver
    365
    Posts
    583

    Can I get the last modified date and time of a module, form and sheet?

    That's about it. I was wondering if VBE Microsoft Excel Objects (Worksheets), Forms and Modules have a "last modified" date and time stamp somewhere that I can view.

    Thank-you!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Can I get the last modified date and time of a module, form and sheet?

    Not AFAIK. Any change would be reflected in the date and time last modified for the workbook.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Can I get the last modified date and time of a module, form and sheet?

    Agreed with TMS; don't know of any built-in last modified property for those objects. You could sort of make one for a sheet using the Worksheet_Change event and store the current date-time.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  4. #4
    Forum Contributor
    Join Date
    03-05-2007
    Location
    Falmouth, VA now, Palm Bay, FL for 2 yrs, was Colorado Springs, CO for ten years; Cedark Park, TX; Zeeland, MI; Wilmette, IL; Princeton Junction, NJ; NY, NY
    MS-Off Ver
    365
    Posts
    583

    Re: Can I get the last modified date and time of a module, form and sheet?

    As I have several versions of one project, I had been keeping them synchronized and all up to date by creating a little schedule of that which I modified then periodically copying/exporting/importing, but I'm afraid I sometimes skip a groove (that is talk from an old fashioned thing called a "record player"...) at which point I just take my best educated guess at that which I was tweaking. As that method recently has failed me, I find myself now just giving up and copying EVERYTHING over. Dang.

    The code, btw, recognizes a value in a hidden name and changes behavior depending on the version, but since material on the actual worksheets can be significantly different, I find I have made this my own little bit of fun. Date and time stamps would have been nice...

    Thank-you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trying to have a module fill in the same form 150 times using different data each time
    By Oliver Twist in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-03-2016, 05:14 AM
  2. Display the last date and time modified of the file
    By dhens_82 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-05-2015, 06:20 AM
  3. how to access Sheet module, normal module, Worbook module to type code
    By alibaba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2009, 07:51 AM
  4. Show date last time modified
    By José Manuel Soberón in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-13-2006, 05:10 AM
  5. Addin Modified date/time
    By Tony McGee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-07-2005, 05:20 PM
  6. Putting Last Modified Date and Time in Custom Footer
    By PropHead in forum Excel General
    Replies: 8
    Last Post: 05-25-2005, 05:06 PM
  7. [SOLVED] Time Date Last Modified
    By LDL in forum Excel General
    Replies: 3
    Last Post: 05-03-2005, 06:06 PM

Tags for this Thread

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