Hello everyone, I keep getting a type mismatch when I try to run this, saving it as something different than it currently is named:
Any reason this shouldn't work?
Code:
msb3 = MsgBox("Would you like to save the updated file, prior to sheet-splitting?", vbYesNo, "Save updates?")
If msb3 = vbYes Then
fileSaveName = Application.GetSaveAsFilename(FileFilter:="Excel Files (*.xls), *.xls")
If fileSaveName <> False Then
ThisWorkbook.SaveAs Filename:=fileSaveName
End If
End If
Any reason this shouldn't work?