Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Adding checkbox to worksheet in C#

From the macro recorder::

ActiveSheet.OLEObjects.Add(ClassType:="Forms.Check Box.1", Link:=False, _
DisplayAsIcon:=False, Left:=642.75, Top:=159.75, Width:=103.5,
Height _
:=21.75).Select

NickHK

"Abhimanyu Sirohi" wrote in
message ...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
adding a checkbox Pat Excel Discussion (Misc queries) 2 January 26th 07 03:05 PM
Adding a Checkbox in Cells Chaplain Doug Excel Discussion (Misc queries) 3 May 15th 06 04:00 PM
Adding CheckBox Caption to a Listbox Peterd Excel Programming 2 August 22nd 05 01:03 PM
Adding checkbox within a frame Ajit Excel Programming 1 December 22nd 04 05:44 PM
Problem in adding item to a checkbox Shilps Excel Programming 3 April 17th 04 11:56 AM


All times are GMT +1. The time now is 04:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"