Hi
i want to loop through all active x objects and change colour
any ideas?
Thanks
i want to loop through all active x objects and change colour
any ideas?
Thanks
VBA Code:
Sub controlBtnsColour(nme As String)
Dim objX As OLEObject
With Design
For Each objX In .OLEObjects
If Not TypeName(objX.Object) = nme Then
objX.BackColor = 16777215'light grey
End If
Next
End With
End Sub