Sorry about that, I should have taken the time to read the rules. The error is "Run time error 424, object required. When i try to debug it brings me to line 7. The error comes when i add "...& Name.Caption & " (without the quotes).
Public Function CheckBox(Name As Variant)
Static Counter As Integer
Counter = Counter + 1
If Name = True Then
Name = MsgBox("Do you want a specific" & Chr(32) & Name.Caption & "?", vbYesNo)
If Name = vbYes Then
ActiveCell.Offset(0, Counter).Value = InputBox("Enter" & Chr(32) & Name.Caption, "E.g." & Name.Caption)
End If
End If
End Function
Bookmarks