I'm trying
But it's, like, not working.
I'm getting
Object doesn't support this property or method.
Hey, I'm just glad it's not "Object required." I get that all the time.
That's kinda the way you do it in Excel, so I figured it'd work here. D'oh!!
If you can help, thanks!
Code:
Sub mike()
Dim A As Report
Dim b As Control
Dim c As Controls
Set A = Reports!rptCriteriaDesc
Set c = Reports!rptCriteriaDesc.Controls
For Each b In c
If b.formula Like "Your*" Then
MsgBox b.formula
End If
Next
End Sub
I'm getting
Object doesn't support this property or method.
Hey, I'm just glad it's not "Object required." I get that all the time.
That's kinda the way you do it in Excel, so I figured it'd work here. D'oh!!
If you can help, thanks!