C
chandan
Hi,
I am exporting text to Excel using Excell Com Dll (Introp.Excell ver
1.5) and C#.I want to allign the text in excel cell using code during
exporting. some thing like......
// worksheet.Cells[row, col] .text.allign= middle
But did not get any function like that.On finding on google I fond
some thing like that...
/ /'Worksheet range A2 and E2
//WSheet.Range("A2:E2").Select()
//EXL.Selection.Columns.AutoFit()
//WSheet.Range("A2:E2").Select()
//'setting up alignment
//With EXL.Selection
//.HorizontalAlignment = Excel.XlHAlign.xlHAlignCenter
//End With
But it doesnot work with my code( C# and com DLL).Let me know how can
I allign the text.
Thanks,
Chandan kumar
I am exporting text to Excel using Excell Com Dll (Introp.Excell ver
1.5) and C#.I want to allign the text in excel cell using code during
exporting. some thing like......
// worksheet.Cells[row, col] .text.allign= middle
But did not get any function like that.On finding on google I fond
some thing like that...
/ /'Worksheet range A2 and E2
//WSheet.Range("A2:E2").Select()
//EXL.Selection.Columns.AutoFit()
//WSheet.Range("A2:E2").Select()
//'setting up alignment
//With EXL.Selection
//.HorizontalAlignment = Excel.XlHAlign.xlHAlignCenter
//End With
But it doesnot work with my code( C# and com DLL).Let me know how can
I allign the text.
Thanks,
Chandan kumar