I want to write to a file that I know the name and location. I get "Permission denied" error message if the file is opened by some other app while I try to write to it.
My question: Is there a way to determine if a file has an "Open" state using VB?
It's a trappable error - just trap it and deal appropriately. See faq222-1694 and faq222-4063
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
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.