Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using the following code to add checkboxes. How can I get the value of
"1" to show up in column "L" if the check box is checked? thanks fo the help. Dim myCBX As CheckBox Dim myCell As Range Dim r As Integer With ActiveSheet .CheckBoxes.Delete For Each myCell In ActiveSheet.Range("B3:B800").Cells With myCell Set myCBX = .Parent.CheckBoxes.Add _ (Top:=.Top, Width:=.Width, _ Left:=.Left, Height:=.Height) With myCBX .LinkedCell = myCell.Address(external:=True) .Caption = "" .Name = "CBX_" & myCell.Address(0, 0) End With .NumberFormat = ";;;" End With Next myCell End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Compare Cell Values, Offset(-1,0), Offset(-1,-1), and xlFillDefaul | Excel Worksheet Functions | |||
How to have Checkbox A uncheck with checked Checkbox B | Excel Discussion (Misc queries) | |||
checkbox on form reset from checkbox on sheet | Excel Programming | |||
checkbox? | Excel Worksheet Functions | |||
Problem with Range.Cells.Offset and Range.Cells( row + offset, column) | Excel Programming |