Here is the statement -
pasteBook.SaveAs fn:=folderName & "\Excels\" & fn & " " & Format(DateTime.Now(), "MM-dd-yyy"), FileFormat:=51
Note - pasteBook
is defined to be as the current ThisWorkbook
. I keep getting the following message box
Run-time eror '424':
Object required