Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: delete a directory

  1. #1
    Board Regular
    Join Date
    Feb 2002
    Location
    Seattle Area, WA
    Posts
    217
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I have a macro that creates a directory on my c drive in order to temporarly hold the files I am working on. I need a macro that will go in a delete the directory and contents when I tell it to (with a button click, which I can handle). Is there a command to delete a directory in Excel's VB?


    Russell

  2. #2
    Board Regular
    Join Date
    Feb 2002
    Location
    Chippenham, UK
    Posts
    144
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-03-03 10:21, ermccarthy wrote:
    I have a macro that creates a directory on my c drive in order to temporarly hold the files I am working on. I need a macro that will go in a delete the directory and contents when I tell it to (with a button click, which I can handle). Is there a command to delete a directory in Excel's VB?


    use Kill

    Regards,

    Gary Hewitt-Long

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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