TickBox

Idris

Registered User.
Local time
Tomorrow, 03:04
Joined
Nov 9, 2005
Messages
67
Dear Friends

I need to insert a tick box on each row starting from A7:A6201 - can it be done in excel? - please advice.

Thanks
Idris
 
Idris said:
Dear Friends

I need to insert a tick box on each row starting from A7:A6201 - can it be done in excel? - please advice.

Thanks
Idris

Select the cells you want a checkbox in and run this....

Code:
Sub MakeCheckbox()
Dim myRng As Range

Set myRng = Selection

    For Each ctrl In myRng.Cells
        ActiveSheet.CheckBoxes.Add(ctrl.Left, ctrl.Top, ctrl.Width, ctrl.Height).Select
    Next

myRng.Select

End Sub
 
Last edited:

Users who are viewing this thread

Back
Top Bottom