I've got this code attached to a button on my QAT. it copies the file path, filename, sheetname and selection range to the clipboard so that it can be quickly pasted into the sheet or emails.
It mostly works fine.
However when File Explorer is open, it usually just puts 2 ascii 10's into the...