+ Reply to Thread
Results 1 to 3 of 3

List Search Time & Then List Next Search Results on Next Available Line

  1. #1
    Forum Contributor
    Join Date
    07-28-2008
    Location
    Leamington Spa, UK
    MS-Off Ver
    2010
    Posts
    142

    List Search Time & Then List Next Search Results on Next Available Line

    I have a macro (can't remember where from, probably the net), that searches within a folder that the user specifies for file types of specified extensions. I have found that by leaving the extension input blank it returns all file types within the designated folder as I require.

    What I would like to do is run the macro every say '60' seconds to record file creations within a folder. Therefore I require:

    1. A way of Starting the Macro.
    2. A way to insert two clear columns below the search results.
    3. A timer to rerun the file search 60 seconds after its last search.
    4. List the new files below the 2 clear rows created earlier.
    5. & Repeat.
    6. Finally a stop button or a stop macro after 1hour limit.

    The code I mentioned earlier is:
    Please Login or Register  to view this content.
    If the current date and time that each file was found could be listed in columns B and C respectively it would be great! File names and types should be listed in column A.

    I have attached an Example *.xls to show what the outcome should look like.

    Hope someone can help,

    Cheers
    Mark
    Attached Files Attached Files
    Last edited by R_S_6; 03-05-2009 at 09:36 AM. Reason: Change Title!

  2. #2
    Forum Contributor
    Join Date
    07-28-2008
    Location
    Leamington Spa, UK
    MS-Off Ver
    2010
    Posts
    142

    Re: Get File Names in Directory, List Time Collected & Repeat Search Every xxx Second

    Okay I have had a play with the code using some code I have found on the forum,

    Please Login or Register  to view this content.
    It seems to work fine, the only issue is that it repeats the file names over the originals. I need it to list the files, then list the next lot of search results 2 rows down from the end of the first search results, and so on.

    Also still not sure about how to get it to also list the dates in column B and Times in Column C for which each file was found.

    Any help appreciated!

    Cheers

  3. #3
    Forum Contributor
    Join Date
    07-28-2008
    Location
    Leamington Spa, UK
    MS-Off Ver
    2010
    Posts
    142

    Re: List Search Time & Then List Next Search Results on Next Available Row

    Bump!

    I'm sure these mods would be fairly easy. I have changed the Title to reflect what is now required.

    Cheers
    Last edited by R_S_6; 03-05-2009 at 09:41 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