+ Reply to Thread
Results 1 to 2 of 2

modified date

  1. #1
    Forum Contributor
    Join Date
    06-15-2004
    Posts
    246

    modified date

    hi all,

    Is it possible to check the modified date/time of either an xls or csv file on a floppy disk and then execute a module if the modified date/time is within a certain time frame?

  2. #2
    Bob Phillips
    Guest

    Re: modified date

    You can use FileDateTime

    Ans = filedatetime ("C:\mytest\volker1.xls")
    If Date - DateValue(ans) < 10 Then 'less than 10 days old
    myMacro
    ...

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "ceemo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > hi all,
    >
    > Is it possible to check the modified date/time of either an xls or csv
    > file on a floppy disk and then execute a module if the modified
    > date/time is within a certain time frame?
    >
    >
    > --
    > ceemo
    > ------------------------------------------------------------------------
    > ceemo's Profile:

    http://www.excelforum.com/member.php...o&userid=10650
    > View this thread: http://www.excelforum.com/showthread...hreadid=480365
    >




+ 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