I'm trying to get a procedure where a user browses for a file and check if it's open.
I've played around with this but it's giving me an error;
FileToOpen = Application.GetOpenFilename(FileFilter:="Excel Files (*.xlsm), *.xlsm")
If FileToOpen = "False" Then
ActiveWorkbook.Close...