I have a form with some labels that when you click them open different forms was looking for a way to show which lable was clicked by changing font color. Here is how I have it now but Im still learning and think there is probably a better way.
Me.LblBOD5.ForeColor = 16777215
Me.LblContacts.ForeColor = 0
Me.LblFlow.ForeColor = 0
Me.LblIndLimit.ForeColor = 0
Me.LblInfo.ForeColor = 0
Me.LblMemo.ForeColor = 0
Me.LblMetals.ForeColor = 0
Me.LblNAICS.ForeColor = 0
Me.LblPermitInfo.ForeColor = 0
Me.LblpH.ForeColor = 0
Me.LblRecycler.ForeColor = 0
Me.LblIUsDDF.ForeColor = 0
Me.LblSIUInfo.ForeColor = 0
Me.LblSIUInsp.ForeColor = 0
Me.LblSIUNotes.ForeColor = 0
Me.LblTSS.ForeColor = 0
Me.LblViolations.ForeColor = 0
Me.LblVOC.ForeColor = 0
All help is much appreciated.
Carl
Me.LblBOD5.ForeColor = 16777215
Me.LblContacts.ForeColor = 0
Me.LblFlow.ForeColor = 0
Me.LblIndLimit.ForeColor = 0
Me.LblInfo.ForeColor = 0
Me.LblMemo.ForeColor = 0
Me.LblMetals.ForeColor = 0
Me.LblNAICS.ForeColor = 0
Me.LblPermitInfo.ForeColor = 0
Me.LblpH.ForeColor = 0
Me.LblRecycler.ForeColor = 0
Me.LblIUsDDF.ForeColor = 0
Me.LblSIUInfo.ForeColor = 0
Me.LblSIUInsp.ForeColor = 0
Me.LblSIUNotes.ForeColor = 0
Me.LblTSS.ForeColor = 0
Me.LblViolations.ForeColor = 0
Me.LblVOC.ForeColor = 0
All help is much appreciated.
Carl