C# adding textbox to excel sheet
Anytime I try to add a textbox to my excel sheet in the following manner an
exception is generated.
Excel.Shape textbox;
textbox =
(Excel.Shape)excelWorksheet.Shapes.AddFormControl( Excel.XlFormControl.xlEditBox, cellx, celly, cellwidth, cellheight);
What am I doing wrong?
|