Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jul 2001
    Posts
    119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Delete files from xls (xls 97)

    Hi I am looking for the the coding that would delete an xls file. My current macro opens some source data files then copys the data to 1 file. i would like to then have those files deleted. Is this possible. I knwo you can open and close xls files from excel but can you DELETE?

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Delete files from xls (xls 97)

    Kill full path and file name
    -John ... I float in liquid gardens
    UTC -7ąDS

  3. #3
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Delete files from xls (xls 97)

    You sure can:

    <pre> Kill "C:MyDirMyFile.xls"
    </pre>

    Legare Coleman

Posting Permissions

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