Skip to content

Commit da89644

Browse files
authored
Update personal_macro_workbook.vb
1 parent 0929fdf commit da89644

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

personal_macro_workbook.vb

+3-1
Original file line numberDiff line numberDiff line change
@@ -11349,7 +11349,9 @@ End Function
1134911349

1135011350
Function grantFileAccess(filePermissionCandidates)
1135111351
'https://warwick.ac.uk/fac/sci/systemsbiology/staff/dyer/software/excelvbafileopen/
11352-
grantFileAccess = GrantAccessToMultipleFiles(filePermissionCandidates) 'returns true if access granted, false otherwise_
11352+
On Error Resume Next
11353+
grantFileAccess = GrantAccessToMultipleFiles(filePermissionCandidates) 'returns true if access granted, false otherwise_
11354+
On Error GoTo 0
1135311355
End Function
1135411356

1135511357

0 commit comments

Comments
 (0)