DanG
Registered User.
- Local time
- Yesterday, 16:47
- Joined
- Nov 4, 2004
- Messages
- 477
Hello,
I would like to have check boxes (with no label) insterted to the left of any row that contains data in it.
I will get a list and then I want to automatically insert check boxes so the user can check/uncheck the items on the list.
Here is what I haev starting with. Though in this code I am selecting a range, I would prefer the range to be automatically detacted by the presence of data in a column (column "B" for example).
Thank you
I would like to have check boxes (with no label) insterted to the left of any row that contains data in it.
I will get a list and then I want to automatically insert check boxes so the user can check/uncheck the items on the list.
Here is what I haev starting with. Though in this code I am selecting a range, I would prefer the range to be automatically detacted by the presence of data in a column (column "B" for example).
Code:
Sub CB()
Dim rcell As Range
Dim sel As Range
Set sel = Application.InputBox(Prompt:="PLEASE USE YOUR MOUSE TO SELECT THE RANGE", Type:=8)
For Each rcell In sel
rcell.Offset(0, -1) = This is where I want to insert a checkbox
Next
End Sub
Thank you