J
Joy
in our macro, some data will be written into a file.
but each time if the file is already opened, it has a run time error.
we want to check if a file is opened before writing data into it. if it
opens, we close it first then write data.
how to check if a file is open? how to close it??
thanks
but each time if the file is already opened, it has a run time error.
we want to check if a file is opened before writing data into it. if it
opens, we close it first then write data.
how to check if a file is open? how to close it??
thanks