I have the below code to save the quotation, and it asks what to save the file as within a InputBox.
Is there a way of this being automatically generated so Q0001, Q0002 and so on ...
Code
Sub Save_Quotation()
MyFilename = InputBox("Enter quotation number") & ".xls"
MyDir = "..\Desktop\NT System\BackEnd\Private Hire\Quotations"
ActiveWorkbook.SaveAs Filename:= _
MyDir & "\" & MyFilename, _
FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
End Sub
Display More