Thread: Check Box
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Texas Aggie Texas Aggie is offline
external usenet poster
 
Posts: 74
Default Check Box

attach the check box to this macro

Sub Changebg()
Range("A1:A10").Select
With Selection.Interior
.ColorIndex = 6 'yellow
.Pattern = xlSolid
End With
Sheets("Sheet1").Select
End Sub


--
If this reply was helpful, please indicate that your question has been
answered to help others find anwsers to similar questions.

www.silverbirddesigns.com

Fighting Texas Aggie Class of 2009


"Brian Smith" wrote:

How do I set a check box to change the background color of a range of cells?

Thank you,

Brian