this may be a silly question with a simple answer but I am automating ecxel from a windows form and in a click event I have:
Excel.Application objExcel = new Excel.Application();
Excel.Workbook objWorkBook = objExcel.Workbooks.Add(System.Reflection.Missing.Value);
Excel.Worksheet objSheet = (Excel.Worksheet)objWorkBook.Worksheets.get_Item(1);
//do stuff to sheet in workbook
but how do I save the work book to a specific location?
How to save work book while automation Excel
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sebastian36 reputationPosted Sep 16, 2011, 5:01 PM EDT
the method has a lot of optional parameters.
if you have optional parameter support(.NET 4) you can remove Missing.Value
alec83 reputationPosted Sep 19, 2011, 4:09 AM EDT
alec83 reputationPosted Sep 19, 2011, 4:15 AM EDT