Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default FileSystem.RMDIR

Friends,

Excel 2000 running in XP

The following code works fine
FileSystem.MkDir "c:\lion"

However, I get error 75 (path/file access error) when I run:
FileSystem.RmDir "c:\lion"

C:\lion is an empty directory. Any ideas what's wrong? Thanks for your help
....

bill morgan





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default FileSystem.RMDIR

bill,

Try it without "FileSystem."

RmDr "c\lion"

Regards,
Jim Cone
San Francisco, USA


"bill_morgan"

wrote in message
...
Friends,
Excel 2000 running in XP
The following code works fine
FileSystem.MkDir "c:\lion"
However, I get error 75 (path/file access error) when I run:
FileSystem.RmDir "c:\lion"
C:\lion is an empty directory. Any ideas what's wrong? Thanks for your help
bill morgan
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default FileSystem.RMDIR

Hi, Jim ...

I am now at the office (Excel 2000 on Win 2000) - the following code now
works fine. Don't know what the problem is with Excel 2000 on my XP OS at
home. If I can't get it to work I'll do an Excel re-install.

Thanks for your help ...

Sub Tester1()
FileSystem.MkDir ("D:\lion")
End Sub

Sub tester2()
FileSystem.RmDir ("D:\lion")
End Sub



"Jim Cone" wrote:

bill,

Try it without "FileSystem."

RmDr "c\lion"

Regards,
Jim Cone
San Francisco, USA


"bill_morgan"

wrote in message
...
Friends,
Excel 2000 running in XP
The following code works fine
FileSystem.MkDir "c:\lion"
However, I get error 75 (path/file access error) when I run:
FileSystem.RmDir "c:\lion"
C:\lion is an empty directory. Any ideas what's wrong? Thanks for your help
bill morgan

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filesystem again Alvin Hansen[_2_] Excel Programming 1 February 16th 05 10:31 PM
To Bob Phillips ( Filesystem) Alvin Hansen[_2_] Excel Programming 6 February 7th 05 08:27 PM
Filesystem again Alvin Hansen[_2_] Excel Programming 3 January 31st 05 07:55 PM


All times are GMT +1. The time now is 03:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"