Hello, I have the following code in a module and works fine, the problem is when the user closes the window without choosing any file the macro crashes and displays error 1004, I tried some codes from the forum but nothing worked.
Filename = Application.GetOpenFilename _
(FileFilter:=Filt...