Determine if a specific control exists on the specified loaded form
Determine if a specific control exists on the specified loaded form
Rate Determine if a specific control exists on the specified loaded form
(2(2 Vote))
Dim frm As Form
Dim ctl As Control
Set frm = frmname
For Each ctl In frm.Controls
MsgBox ctl.Name
If LCase(ctl.Name) = LCase(ctlname) Then
IsCtl = True
Exit Function
End If
Next
IsCtl = False
End Function
Determine if a specific control exists on the specified loaded form Comments
No comments yet — be the first to post one!
Post a Comment