Link to home
Start Free TrialLog in
Avatar of ouestque
ouestqueFlag for United States of America

asked on

Excel VBA: Confirm user has access to network file

What VBA code would I use to confirm the following without opening another file:

1) User can access path on network.
2) User has at least Read access to a file on a network?
3) Sheet exists within a workbook on a network.

Network Path = //HelloWorld/Import/Closed/File/ClosedFile.xls
Avatar of Bill Prew
Bill Prew

There is no way to confirm the existence of a specific sheet name in the workbook without opening it.


»bp
Avatar of ouestque

ASKER

Makes sense Bill. What VBA would I use to check for at least Read access to a file and file path?
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Really Cool Bill! Thank you!!
Welcome, glad that was helpful.


»bp