ActiveX Check Box Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i am creating a form in excel 2002. i inserted an activex checkbox and i can change the true/false values in a linked cell but is there a way to change the pattern color of a group of cells when that box is checked. for example, if i check a box the color of cells b3 through g3 would turn green? any advice would be greatly appreciated.
 
Use conditional formatting - using the basis for change as the value in the
linked cell.

--
Regards,
Tom Ogilvy

Joseph said:
i am creating a form in excel 2002. i inserted an activex checkbox and i
can change the true/false values in a linked cell but is there a way to
change the pattern color of a group of cells when that box is checked. for
example, if i check a box the color of cells b3 through g3 would turn green?
any advice would be greatly appreciated.
 
Hi Joseph,

If Checkbox1.Value = True Then
Range("B3:G3").interior.colorindex=10
Endif


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

Joseph said:
i am creating a form in excel 2002. i inserted an activex checkbox and i
can change the true/false values in a linked cell but is there a way to
change the pattern color of a group of cells when that box is checked. for
example, if i check a box the color of cells b3 through g3 would turn green?
any advice would be greatly appreciated.
 

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

Back
Top