Archive of Mr Excel Message Board

Back to Controls in Excel archive index
Back to archive home

Check Box
Posted by Bryan on January 06, 2001 6:35 AM
I need to use a macro which clicks on a Check box. How do I do this? Creating a new macro and clicking on the check Box produces no code showing the Box has been clicked. Any help appreciated.

Re: Check Box
Posted by Ed on January 06, 2001 7:28 AM
Try this Code:
ActiveSheet.Shapes("Check Box 1").Select
With Selection
.Value = xlOn
End With

Re: Check Box
Posted by Bryan on January 06, 2001 8:26 AM
Thanks, this works perfectly!

This archive is from the original message board at www.MrExcel.com.
All contents © 1998-2004 MrExcel.com.
Visit our
online store to buy searchable CD's with thousands of VBA and Excel answers.
Microsoft Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.