Consulting

Results 1 to 2 of 2

Thread: open a file based on a modified date

  1. #1
    VBAX Tutor
    Joined
    Nov 2007
    Posts
    291
    Location

    open a file based on a modified date

    Hello,

    Is there a way to programatically open a file but to look at the modified date and if the modified date is not yesterday to show a message box giving a warning

    Thanks
    Phil

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Use FileSystemObject to get the modified property of the file and check it before opening.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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