Interop Excel
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all, i am using Interop for excel. i need to set border style as solid and border color for particular cells. am using the following code, which is not working.... Please correct it... <code> oRange = (Excel.Range)oSheet.Cells[i, j+1]; oRange.Borders.Weight = BorderStyle.Solid; oRange.Cells.Borders.ColorIndex = 11; </code> Thanks and regards