VBA
Sub SomeName()
Dim fName As String
Do
fName = Application.GetSaveAsFilename
Loop Until fName <> ""
end sub
the above opens the SaveAs dialog and waits until the user puts in the filename, You may have to check for and add a file extension This does not save the file.
Macro
Sub SomeName()
ActiveWorkbook.SaveAs Filename:="filename", FileFormat:=xlNormal, Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, CreateBackup:=False
end sub
filename can be replaced by a variable or cell value
Chris.
Indifference will be the downfall of mankind, but who cares?