When I try to open a file which is not currently closed by another program (ex : a log of a backup exec program), I have a runtime error.
I would like to capture the error message with my open command.
Open ch_origine + nom For Input As #1
'Here I want to know if an error has been met, not to do the rest of code.
Do Until EOF(1) Or dejafait
Thank you for your answer, and sorry for my trivial questions.