- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re:
I make the windows form on which on a single button click performs like this ' private void button1_Click(object sender, EventArgs e) { Excel.Application exapp=null; Excel.Workbook exbook=null; Excel.Worksheet exsheet = null; object misvalue = System.Reflection.Missing.Value; exapp = new Excel.Application(); exapp.SheetsInNewWorkbook = 1; exbook = exapp.Workbooks.Add(misvalue); exsheet = (Excel.Worksheet)exbook.Worksheets.get_Item(1); exsheet.Cells[1, 1] … |
|
Re:
Hi all, Want to write some data from C# to Excel. Code enough I thought, here at DANI's and on the web. So I managed to come up with this : [CODE=csharp]private void DoExcel(string Fname) { Microsoft.Office.Interop.Excel.ApplicationClass excel = null; Microsoft.Office.Interop.Excel.Workbook wb = null; Microsoft.Office.Interop.Excel.Worksheet ws = null; Microsoft.Office.Interop.Excel.Range rng … |