Checkbox macros

L

LN

Hello,

I am new at creating macros, and am wondering if anyone can help me with a
detail explanation as I can't seem to figure this out. I have created some
checkboxes, and need to create a macro where if the checkbox is clicked then
cell 'A1' (for example) would provide a value of '1'. if not clicked, then
it would be '0'.

Any help would be much appreciated.
 
B

Bob Phillips

You can basically do it without macros.

Grab a checkbox from the forms toolbar, and set the link cell property to
A1. This will return TRUE or FALSE depending upon the checked state, and you
can transform this to 1, 0 with =--A1.
 
L

LN

Great! Thank you.

Bob Phillips said:
You can basically do it without macros.

Grab a checkbox from the forms toolbar, and set the link cell property to
A1. This will return TRUE or FALSE depending upon the checked state, and you
can transform this to 1, 0 with =--A1.

--
__________________________________
HTH

Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

linked cell to change another cell 5
Checkbox functionality 2
Checkboxes in cells 2
Excel macro help needed 0
checkbox = macro? 1
Checkbox Macro 2
Need help with excel and checkboxes 2
Referencing a VB control on an Excel Cell 3

Top