M
Mark Kubicki
i want to add a command that will update header.backcolor... in (all) of the
forms with in the current project...and am using the following code
(below)...
it loops thru the forms correctly, but does not change the color...
Is there a caviat i'm missing?
Private Sub Form_Open(Cancel As Integer)
Dim frm As Object
For Each frm In CurrentProject.AllForms
If Mid(frm.Name, 1, 3) = "frm" Then
FormHeader.BackColor = 11528154
txtHeaderTitle.ForeColor = 108
End If
Next frm
End Sub
thanks in advance,
mark
forms with in the current project...and am using the following code
(below)...
it loops thru the forms correctly, but does not change the color...
Is there a caviat i'm missing?
Private Sub Form_Open(Cancel As Integer)
Dim frm As Object
For Each frm In CurrentProject.AllForms
If Mid(frm.Name, 1, 3) = "frm" Then
FormHeader.BackColor = 11528154
txtHeaderTitle.ForeColor = 108
End If
Next frm
End Sub
thanks in advance,
mark