#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Checkbox

Is is possible to set up a formula that if a checkbox is checked it will
highlight a particular field?

And how do you bold a checkbox/mark?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Checkbox

The checkbox should have a link cell, then conditional formatting to check
that cell and highlight whichever field based on what is in the linked cell.
ie. TRUE or FALSE will be what is in the link cell.

Right click the checkbox and go to Format Control, then enter the cell link
that you want to use to reference in your conditional format.

"AlliSun" wrote:

Is is possible to set up a formula that if a checkbox is checked it will
highlight a particular field?

And how do you bold a checkbox/mark?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Checkbox

hi
formulas return values, they can not perform actions like "highlight a
particular field". but if you are talking about a activeX contol on the
sheet, you can put code in the sheet to high light a cell or range of cells.
in design mode, right click the checkbox then click view code.
Private Sub CheckBox1_Click()
If CheckBox1.Value = True Then
Range("B5").Interior.ColorIndex = 41
Else
Range("B5").Interior.ColorIndex = xlNone
End If
End Sub

for a range of cells....
Range("B5:B15").Interior.ColorIndex = 41

see this site for color index numbers
http://www.mvps.org/dmcritchie/excel/colors.htm

regards
FSt1


"AlliSun" wrote:

Is is possible to set up a formula that if a checkbox is checked it will
highlight a particular field?

And how do you bold a checkbox/mark?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
checkbox Sandee Excel Discussion (Misc queries) 1 April 17th 08 04:43 PM
How to have Checkbox A uncheck with checked Checkbox B Texas Aggie Excel Discussion (Misc queries) 3 July 20th 07 10:58 PM
Checkbox Thomp New Users to Excel 1 February 8th 07 12:19 AM
Checkbox help Steve_K Excel Discussion (Misc queries) 3 November 29th 05 10:33 AM
checkbox Chas Excel Worksheet Functions 2 May 13th 05 10:37 PM


All times are GMT +1. The time now is 11:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"