When I try to open the file that I saved, it says the extension or something is wrong/corrupted. What is wrong with my code VBA causing this?
![]()
Application.DisplayAlerts = False Dim fileName As String fileName = "S:\Private\Management\Template\" & "Risk Report" & ".xlsx" ActiveWorkbook.SaveAs fileName:=fileName, FileFormat:=xlNormal, Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, CreateBackup:=False Application.DisplayAlerts = True wb2.Close False
Bookmarks