Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[blue]Public Sub ChangeFormStyles()
Dim obj As AccessObject, frm As Form, Ctl As Control
For Each obj In CurrentProject.AllForms
DoCmd.OpenForm obj.Name, acDesign, , , , acHidden
DoEvents
Set frm = Forms(obj.Name)
frm.Detail.BackColor = 13882281
frm.FormFooter.BackColor = 13882281
frm.FormHeader.BackColor = 13882281
For Each Ctl In frm.Controls
If Ctl.ControlType = acTextBox Or _
Ctl.ControlType = acComboBox Or Ctl.ControlType = acListBox Then
Ctl.BackColor = 15592924
Ctl.BorderColor = 8421504
Ctl.FontName = "Tahoma"
Ctl.FontSize = 8
End If
Next
DoCmd.Close acForm, obj.Name, acSaveYes
DoEvents
Set frm = Nothing
Next
End Sub[/blue]