kelly mort
Well-known Member
- Joined
- Apr 10, 2017
- Messages
- 2,169
- Office Version
- 2016
- Platform
- Windows
I am using this macro to save my workbook. The only issue I am having here is that; it adds “.xlsm” to the name.
How do I get rid of that?
How do I get rid of that?
Code:
Sub SaveAs()
Dim FileSaveAs As String
FileSaveAs = _
Application.GetSaveAsFilename(FileFilter:="Exel Files(*.xlsm,*.xlsm", Title:="Select Name For File")
If FileSaveAs <> "False" Then ActiveWorkbook.SaveAs FileName:=FileSaveAs, _
Password:="", writerespassword:="", ReadOnlyRecommended:=False
End Sub