A family of Microsoft relational database management systems designed for ease of use.
You can try something like the following. I don't like the duplicated code but it should work.
Private Sub cmdNewCustomers_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim ctl As CommandButton
Set ctl = Me(cmdNewCustomers.Tag)
If ctl.ForeColor <> vbRed Then
ctl.ForeColor = vbRed
End If
End Sub
Private Sub cmdNewProducts_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim ctl As CommandButton
Set ctl = Me(cmdNewProducts.Tag)
If ctl.ForeColor <> vbRed Then
ctl.ForeColor = vbRed
End If
End Sub
Sub ResetButtonFore()
Dim ctl As Control
For Each ctl In Me.Controls
If ctl.controlType = acCommandButton Then
If ctl.ForeColor <> vbBlack Then
ctl.ForeColor = vbBlack
End If
End If
Next
End Sub
Private Sub Detail_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
ResetButtonFore
End Sub