LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default fso.FolderExists Gives True but Access is Denied

I am working with the below code. The result of the FolderExists line
is true. However, if I navigate to the folder via the windows
explorer I get a message that says access denied. I can't figure out
why the result of FolderExists is true. Why is this? I want it to be
false. Is there something else that I can use outside of the
FileSystemObject object that will give me a value if the folder can
be accessed?



Sub testingfolderexists()
Dim fso As New FileSystemObject
Dim fols As Folders

MsgBox fso.FolderExists("C:\Documents and Settings\Administrator
\")


End Sub
 
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
Access Denied LE94553 Excel Discussion (Misc queries) 0 December 4th 07 01:29 AM
Access denied richn Excel Discussion (Misc queries) 4 October 30th 07 01:07 AM
SQL server does not exist or access denied vanessa via OfficeKB.com Excel Programming 2 March 1st 06 01:19 AM
can't clear read only from files, msg: access denied read only problems Excel Discussion (Misc queries) 10 September 10th 05 05:52 PM
Worksheet Access Denied Nick Excel Discussion (Misc queries) 3 July 7th 05 02:48 PM


All times are GMT +1. The time now is 10:11 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"