Sub TextBoxesRed()
Dim shp As Shape
For Each shp In ActiveSheet.Shapes
If shp.Type = msoOLEControlObject Then
If shp.OLEFormat.ProgId = "Forms.TextBox.1" Then
shp.OLEFormat.Object.Object.ForeColor = RGB(255, 0, 0)
End If
End If
Next shp
End Sub
Sub TextBoxesRed()
Dim shp As Shape
For Each shp In ActiveSheet.Shapes
If shp.Type = msoOLEControlObject Then
If TypeName(shp.OLEFormat.Object.Object) = "TextBox" Then
shp.OLEFormat.Object.Object.ForeColor = RGB(255, 0, 0)
End If
End If
Next shp
End Sub