+ Reply to Thread
Results 1 to 3 of 3

How do you delete an exported file from a directory

  1. #1
    Brett Smith
    Guest

    How do you delete an exported file from a directory

    I want to delete an RDF text file that I export from Excel which is in the
    same directory as the Excel spreadsheet. In the beginning of the program, I
    want to delete this file so that it doesn't accidentally append new
    information. How do I delete this file using code?

  2. #2
    Bob Phillips
    Guest

    Re: How do you delete an exported file from a directory

    Look at the Kill command in VBA help.

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "Brett Smith" <BrettSmith@discussions.microsoft.com> wrote in message
    news:88562BC6-51D3-4A06-BC46-D08DCA9642F2@microsoft.com...
    > I want to delete an RDF text file that I export from Excel which is in the
    > same directory as the Excel spreadsheet. In the beginning of the program,

    I
    > want to delete this file so that it doesn't accidentally append new
    > information. How do I delete this file using code?




  3. #3
    Kevin B
    Guest

    RE: How do you delete an exported file from a directory

    Use the command Kill "FullpathAndFilename"
    --
    Kevin Backmann


    "Brett Smith" wrote:

    > I want to delete an RDF text file that I export from Excel which is in the
    > same directory as the Excel spreadsheet. In the beginning of the program, I
    > want to delete this file so that it doesn't accidentally append new
    > information. How do I delete this file using code?


+ 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