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.'