Just change the file attributes to vbNormal before opening, then set then back to vbReadOnly, using SetAttr statement:
SetAttr "myFile.txt", vbNormal
Check out the other constants in VBHelp under SetAttr
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'People who live in windowed environments shouldn't cast pointers.'
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'People who live in windowed environments shouldn't cast pointers.'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.