G Guest Aug 14, 2007 #2 Hi Experts, Found the cause when the Error is occured but no solution, could any body help me here The cause of Error : When writing to cell no 257 Code lines DirectCast(Me.moxlWorkSheet.Cells(iRow, iCol), Excel9.Interop.Range) where iRow=1 iCol=257 workings fine from 1 to 256 Is any other method to refer and write to a particular cells. Thanks in adv.
Hi Experts, Found the cause when the Error is occured but no solution, could any body help me here The cause of Error : When writing to cell no 257 Code lines DirectCast(Me.moxlWorkSheet.Cells(iRow, iCol), Excel9.Interop.Range) where iRow=1 iCol=257 workings fine from 1 to 256 Is any other method to refer and write to a particular cells. Thanks in adv.