>XL.ActiveWorkbook.SaveAs(path and name of the file, Format Of The File) >Offer the file name BEFORE you start the Excel.
using Excel = Microsoft.Office.Interop.Excel; SaveFileDialog dlg = new SaveFileDialog(); dlg.FileName = "YourName"; dlg.Filter = "Excel Workbooks (*.xls)|*.xls"; if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK) { Excel.Application xlAppl = new Excel.Application(); Excel.Workbook xlWB; Excel.Worksheet xlSheet; xlAppl.Visible = true; xlWB = xlAppl.Workbooks.Add(); xlWB.SaveAs(dlg.FileName); .... // Your code here }