ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Adding Checkboxes Programmatically (https://www.excelbanter.com/excel-programming/278967-adding-checkboxes-programmatically.html)

Mark D'Agosta

Adding Checkboxes Programmatically
 
Anyone know how to programmatically add check boxes to a worksheet? I'd
like to add a check box in the first column of each new row that is added to
a worksheet. The number of rows is not known at design time and the check
box should be completely contained within the cell in the first column. I
had some success using the Worksheet_Change event to create a checkbox, but
am unable to control the positioning of it. Any help will be greatly
appreciated.

Thanks,

Mark D.



Tom Ogilvy

Adding Checkboxes Programmatically
 
What kind of checkbox - control toolbox toolbar or forms toolbar

Put you your code that creates the checkbox.

--
Regards,
Tom Ogilvy

Mark D'Agosta wrote in message
. net...
Anyone know how to programmatically add check boxes to a worksheet? I'd
like to add a check box in the first column of each new row that is added

to
a worksheet. The number of rows is not known at design time and the check
box should be completely contained within the cell in the first column. I
had some success using the Worksheet_Change event to create a checkbox,

but
am unable to control the positioning of it. Any help will be greatly
appreciated.

Thanks,

Mark D.






All times are GMT +1. The time now is 09:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com