Has access to folder?

  • Thread starter Thread starter frank knuckles
  • Start date Start date
F

frank knuckles

Before a user presses a button that copies a file to a folder via VBA, I
want to check is the user has read and writing rights to that specific
folder. What code should I use to make this check?
Thanks.

FK
 
Before a user presses a button that copies a file to a folder via VBA, I
want to check is the user has read and writing rights to that specific
folder. What code should I use to make this check?
Thanks.

FK

Attempt to write to the folder and trap the error if doing so fails.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top