Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check directory permissions
I've got a little script which needs to put it's output in a user-
specified directory and I'd like to make sure that the user has permission to write to the directory before letting the script try. I've seen some posts which suggest trying to write a file to the directory first, while other suggested using GetAtrr(). GetAtrr() only seems to want to tell me that the specified directory is in fact a directory. Is there a simple way to check that the user has write permissions or am I better off try to write a file and trapping that error? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Checking for File/Directory Permissions | Excel Programming | |||
Check a file in a directory | Excel Programming | |||
How to check if a folder/directory exist using VBA | Excel Programming | |||
How to check if the directory exists? | Excel Programming | |||
Check if directory empty OR no of files in directory. | Excel Programming |