I run
VB code to cycle through a group of excel files and chenge their
properties using the below code:
For i = 1 To .FoundFiles.Count
Set wb = Workbooks.Open(Filename:=.FoundFiles(i))
Sometimes a file opens with the following:
Password
Enter password for write access, or open read only.
Password:_________
Cancel
Read Only
Is there a way for
VB to hit cancel if this dialogue box appears?