Guest User

Untitled

a guest
Feb 15th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Sub requestFileAccess()
  2. 'Declare Variables_
  3. Dim fileAccessGranted As Boolean
  4. Dim filePermissionCandidates As Variant
  5. 'Create an array with file paths for the permissions that are needed.
  6. filePermissionCandidates = Application.Transpose(Worksheets("First").Range("W8:W200"))
  7. 'Request access from user.
  8. fileAccessGranted = GrantAccessToMultipleFiles(filePermissionCandidates)
  9. End Sub
Add Comment
Please, Sign In to add comment