I am trying to compile a simple code to check ...
1) if a file is open,
2) if it is, run the rest of the code,
3) if it is not, open the file and run the code
4) if nothing is selected at 3), show an error message to that effect and close sub
Please see code below and help me...