ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I link a check box to a macro? (https://www.excelbanter.com/excel-worksheet-functions/21530-how-do-i-link-check-box-macro.html)

Tom

How do I link a check box to a macro?
 
I would like to set up a form that provides instructions/comments based on
"check boxes" checked on a questionairre. If a user checks a box next to "My
house is white" then I want "Boarders can be any color" to show in a comments
field. Any ideas? Ideally this would be an Excel document. Thanks for the
help.

Biff

Hi!

Assume the following:

A4 = My house is white
B4 = checkbox
C4 = linked cell to checkbox (will display either TRUE or
FALSE)
D4 = formula:

=IF(C4=TRUE,"Boarders can be any color","")

You can either set the font color of cell C4 to be the
same as the fill color (to hide the TRUE or FALSE) or,
just hide column C altogether.

Biff

-----Original Message-----
I would like to set up a form that provides

instructions/comments based on
"check boxes" checked on a questionairre. If a user

checks a box next to "My
house is white" then I want "Boarders can be any color"

to show in a comments
field. Any ideas? Ideally this would be an Excel

document. Thanks for the
help.
.



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

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