Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50158

Check permissions to a shared drive

$
0
0
I have code which is basically using ChDir to check if i can change the directory to a variable (which is a list of areas provided to me). The odd thing is some of the results are coming back as Yes when i dont have access to the network drive, ie

ChDir "shareddrive\folder_1"

Is coming back as Error = 0 even though i cant get into folder 1. However i can reach Shareddrive

Essentially what im trying to obtain is what drives i can see, and what drives i can write to

Any suggestions?

Viewing all articles
Browse latest Browse all 50158

Trending Articles