Assign different macros for True/False button

K

Ken G.

I have two small macros that I want to assign to a tick box. I know how to
assign one macro, but can I assign two so that when the box is ticked it runs
one macro and when its unticked it runs the other?
 
J

Jim Cone

Assign the tickbox to a third macro...

Sub Third
if tickbox.value = true then
smallmacro1
else
smallmacro2
end if
End Sub
--
Jim Cone
Portland, Oregon USA



"Ken G." <[email protected]>
wrote in message
I have two small macros that I want to assign to a tick box. I know how to
assign one macro, but can I assign two so that when the box is ticked it runs
one macro and when its unticked it runs the other?
 

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

Top