From the macro recorder::
ActiveSheet.OLEObjects.Add(ClassType:="Forms.CheckBox.1", Link:=False, _
DisplayAsIcon:=False, Left:=642.75, Top:=159.75, Width:=103.5,
Height _
:=21.75).Select
NickHK
"Abhimanyu Sirohi" <(E-Mail Removed)> wrote in
message news:A05A423C-7433-4D68-9C55-(E-Mail Removed)...
> I am using Excel object model in C# using Office XP PIA.
> I want to add a checkbox to the worksheet programmatically. In VBA I can
add
> a checkbox using the 'CheckBoxes' collection's Add method but there is no
> such collection in PIA classes.
>
> regards
>
|