Sub SaveMe()
Dim fName As Variant
fName = Application.GetSaveAsFilename(InitialFileName:="", FileFilter:="Excel Files (*.XLS), *.XLS", Title:="Save As")
If fName = False Then Exit Sub
If CInt(Application.Version) < 12 Then
ActiveWorkbook.SaveAs Filename:=fName
Else
ActiveWorkbook.SaveAs Filename:=fName, FileFormat:=52
End If
End Sub
Sub SaveMe()
Dim fName As Variant, i As Long
fName = Application.GetSaveAsFilename(InitialFileName:="", FileFilter:="Excel Files (*.XLS), *.XLS", Title:="Save As")
If fName = False Then Exit Sub
If CInt(Application.Version) < 12 Then
ActiveWorkbook.SaveAs Filename:=fName
Else
i = InStrRev(fName, ".")
fName = Left(fName, i) & "xlsm"
ActiveWorkbook.SaveAs Filename:=fName, FileFormat:=52
End If
End Sub