Consulting

Results 1 to 2 of 2

Thread: Solved: DELETE LAST

  1. #1
    VBAX Tutor
    Joined
    Dec 2009
    Posts
    295
    Location

    Solved: DELETE LAST

    hi

    i need a macro that will delete lat modifid text file in the folder "C:\oleg"


    thanks

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Is your FileDate post solved? If you have the solution there to identify the last modified file eg using ZVI's code, simply add at the end
    [VBA]
    Kill f
    [/VBA]
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

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