prajul89
Active Member
- Joined
- Jul 9, 2011
- Messages
- 404
Code:
again:
'see if file is read only
If test = True Then Application.Wait TimeValue("00:00:02"): GoTo again:
'open file and update values in it
Here I want test to be true if the said file is already opened by some other user, else it should be false. Is it possible??
Basically I want my macro to wait for sometime and open only file which is not read only.