My macro (that someone from here helped me with a while ago) works great.
But I added a combobox and that one doesnt clear when I execute the macro.
Combo 1,2,3, clear but the 4th doesnt ?
Any ideas ?
Here is my macro.
Thanks,
Yosef
Option Explicit
Sub testme01()
Dim OLEObj As OLEObject
For Each OLEObj In ActiveSheet.OLEObjects
If TypeOf OLEObj.Object Is MSForms.CheckBox Then
OLEObj.Object.Value = False
End If
Next OLEObj
Range("B2:B5").Select
Range("B5").Activate
Selection.ClearContents
End Sub
Bookmarks