December 21st, 2012, 06:18 AM
C# to Create Excel Workbook
In C# how would I add an Excel Workbook, and explicitly name the worksheet that is added to the workbook?
Last edited by jo15765; December 21st, 2012 at 07:07 AM.
December 22nd, 2012, 11:50 AM
Re: SaveAs For C#
Well I answered my own question after HOURS of googling --- thanks to all who viewed my beginner question
Here is the solution I used...
object missingValue = System.Reflection.Missing.Value;
myApp = new Excel.Application;
myApp.Visible = true;
myWorkBk = myApp.WOrkbooks.Add(missingValue);
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!