View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
M C M C is offline
external usenet poster
 
Posts: 2
Default Can't delete directory created by a macro ...

I created a macro to create some directories. The problem is that
when I was creating the directories i in advertently put a space at
the end of the directory :

X:\Microsoft\Excel\Files \

As a result, of the space, I can't seem to delete this. I get an
error message 1026 saying that I can't delete the file or directory
(and sometimes I get a message saying that the directory/file is not
there, yet I can see it and create files in it).

Is there some way for me to delete this directory?