Macro to clear check box :: MrExcel Message Board


 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

Macro to clear check box
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

taran_sula
Board Regular


Joined: 03 Apr 2003
Posts: 29


Status: Offline

 Reply with quote  

Macro to clear check box

Does anyone know how to write a macro to clear a checkbox (checkbox created through control toolbox)???

Post Fri Apr 04, 2003 11:14 am 
 View user's profile Send private message Send e-mail

Ivan F Moala
MrExcel MVP


Joined: 11 Feb 2002
Posts: 3189
Location: Auckland, New Zealand
Flag: Newzealand

Status: Offline

 Reply with quote  

Assuming Checkbox1 then

CheckBox1.Value = 0
_________________
Kind Regards,
Ivan F Moala From the City of Sails

Post Fri Apr 04, 2003 11:27 am 
 View user's profile Send private message Send e-mail Visit poster's website

taran_sula
Board Regular


Joined: 03 Apr 2003
Posts: 29


Status: Offline

 Reply with quote  

I am getting object required when i run this code, assume i know very little. What i'm i missing?

Post Fri Apr 04, 2003 1:30 pm 
 View user's profile Send private message Send e-mail

Mudface
MrExcel MVP


Joined: 19 Feb 2002
Posts: 3116
Location: Sunny, spring-like Hull
Flag: England

Status: Offline

 Reply with quote  

See- http://www.mrexcel.com/board2/viewtopic.php?t=46470

Post Fri Apr 04, 2003 2:19 pm 
 View user's profile Send private message
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.