Sub SaveMe()
Dim fName As Variant
fName = Application.GetSaveAsFilename _
(InitialFileName:="C:\Users\Test\Documents\VBA\" & Range("rngFile").Value & ".xls", _
FileFilter:="Excel Files (*.XLS), *.XLS", _
Title:="Save As")
If fName = False Then Exit Sub
ActiveWorkbook.SaveAs Filename:=fName
End Sub
Try like this
Code:Sub SaveMe() Dim fName As Variant fName = Application.GetSaveAsFilename _ (InitialFileName:="C:\Users\Test\Documents\VBA\" & Range("rngFile").Value & ".xls", _ FileFilter:="Excel Files (*.XLS), *.XLS", _ Title:="Save As") If fName = False Then Exit Sub ActiveWorkbook.SaveAs Filename:=fName End Sub
Sub SaveMe()
Dim fName As Variant
fName = Application.GetSaveAsFilename _
(InitialFileName:=Range("rngFile").Value, _
FileFilter:="Excel Files (*.XLS), *.XLS", _
Title:="Save As")
If fName = False Then Exit Sub
ActiveWorkbook.SaveAs Filename:=fName
End Sub
If rngFile contains the full path and filename try
Code:Sub SaveMe() Dim fName As Variant fName = Application.GetSaveAsFilename _ (InitialFileName:=Range("rngFile").Value, _ FileFilter:="Excel Files (*.XLS), *.XLS", _ Title:="Save As") If fName = False Then Exit Sub ActiveWorkbook.SaveAs Filename:=fName End Sub