Hi,
I currently have a macro in my file (XLSM) which has a step where the user saves out the workbook in the current format.
Sub SaveAS_Final()
Dim strName As String
SvName = Sheets("Instructions").Range("C51")
Application.Dialogs(xlDialogSaveAs).Show SvName
End Sub
But since my file is an XLSM file, when the Save As window pops up, it defaults to XLSM, but I actually want to save as an XLSX file. Is there anyway to tweak my current code to make that change in file type instead of the user having to manually change?
Thanks for any tips!
I currently have a macro in my file (XLSM) which has a step where the user saves out the workbook in the current format.
Sub SaveAS_Final()
Dim strName As String
SvName = Sheets("Instructions").Range("C51")
Application.Dialogs(xlDialogSaveAs).Show SvName
End Sub
But since my file is an XLSM file, when the Save As window pops up, it defaults to XLSM, but I actually want to save as an XLSX file. Is there anyway to tweak my current code to make that change in file type instead of the user having to manually change?
Thanks for any tips!
Last edited: