Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default uncheck a checkbox with a macro

I need a macro to delete information in cells (A2:G2), and change the value
of a check box to false. The check box is linked to cell (E2) and the value
should change to false. The check box was created useing the forms tool box.
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default uncheck a checkbox with a macro

Sub whatever
Range("A2:G2").ClearContents
end sub
--
HTH...

Jim Thomlinson


"GeoffWhite18" wrote:

I need a macro to delete information in cells (A2:G2), and change the value
of a check box to false. The check box is linked to cell (E2) and the value
should change to false. The check box was created useing the forms tool box.
Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default uncheck a checkbox with a macro

hi
just to add to jim's responce...
Sub whatever
Range("A2:G2").ClearContents
Range("E2").value ="False"
end sub

regards
FSt1
"GeoffWhite18" wrote:

I need a macro to delete information in cells (A2:G2), and change the value
of a check box to false. The check box is linked to cell (E2) and the value
should change to false. The check box was created useing the forms tool box.
Thanks!

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
check and uncheck macro [email protected] Excel Worksheet Functions 6 April 5th 23 01:19 PM
check and uncheck macro [email protected] Excel Discussion (Misc queries) 3 December 31st 08 12:50 AM
How to have Checkbox A uncheck with checked Checkbox B Texas Aggie Excel Discussion (Misc queries) 3 July 20th 07 10:58 PM
check/uncheck a checkbox leonidas[_38_] Excel Programming 3 July 6th 06 11:24 AM
Check and uncheck a checkbox NoProgram Excel Programming 3 April 25th 06 10:44 PM


All times are GMT +1. The time now is 12:10 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"