Private Sub t()
Dim f As AccessObject
Dim frm As Form
Dim ctl As control
For Each f In CurrentProject.AllForms
DoCmd.OpenForm f.Name, acDesign, , , , acHidden
Set frm = Application.Forms(f.Name)
For Each ctl In frm.Controls
If TypeOf ctl Is Label Then
If ctl.Name = "theNameOfLabel" Then
frm("theNameOfLabelHere").Caption = "xxxx"
End If
End If
Next
Set frm = Nothing
DoCmd.Close acForm, f.Name, acSaveYes
End If
Next
End Sub