hi can you help me to find the problem at this line of my code where i try to add canvas to excel sheet from c#
Line 1 Excel.Worksheet ws =
(Excel.Worksheet) Globals.ThisAddIn.GetActiveWorksheet();
Line 2 ws.Shapes.AddCanvas(100,100,100,100);
at line 2 it gives me exception... am i doing smth wrong? thanks a lot!