Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

insert a CheckBox in a sheet on Excel dynamicly

178 views
Skip to first unread message

obv

unread,
Jan 4, 2012, 9:54:59 AM1/4/12
to
[my code]

ExcelTools.Controls.CheckBox checkBox =
excelApp.Workbooks.Application.ActiveSheet.Controls.
AddCheckBox(excelApp.Workbooks.Application.ActiveSheet.Range[row,
"F"],"checkBox"+row);

[my Error]
'system._ComObject' does not contain a definition for 'Controls'

some body have an idea?
0 new messages