ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   uncheck a checkbox with a macro (https://www.excelbanter.com/excel-programming/405403-uncheck-checkbox-macro.html)

GeoffWhite18

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!

Jim Thomlinson

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!


FSt1

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!



All times are GMT +1. The time now is 05:33 PM.

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