OLEObjects Property changing

S

Sukim

Well
I am adding a Forms Checkbox to a excel file that i create in c#
after adding a Checkbox i would like to change the Label for the checkbox

for adding the Checkbox i specify the range and set the height,width,top and left positions of the checkbox
oSheet.Shapes.AddOLEObject("Forms.CheckBox.1",oMissing,oMissing,false,oMissing,oMissing,oMissing,oRng1.Left,oRng1.Top,oRng1.Width,oRng1.Height)

ALso if i add optionbuttons like "Forms.OptionButton.1" how do i group after adding ,
any light on this will be of great appreciatio

thanks in advanc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top