G
Guest
In a form that is used to enter data on a daily, weekly, or monthly basis I
have a couple of cells that only will need to be unlocked if the day is
Friday. This is the code I have come up with:
If Text28.Text = "Friday" Then
Belt_Tension.Locked = False
Belt_Tension.BackColor = vbWhite
Belt_Tension.ForeColor = vbBlack
End If
Text28 is a box that is linked to the "DATE" field and formatted to display
the day of the week, my question is this: Where should this code go so that
the cell will unlock if the day of the week is Friday?
Thanks!
have a couple of cells that only will need to be unlocked if the day is
Friday. This is the code I have come up with:
If Text28.Text = "Friday" Then
Belt_Tension.Locked = False
Belt_Tension.BackColor = vbWhite
Belt_Tension.ForeColor = vbBlack
End If
Text28 is a box that is linked to the "DATE" field and formatted to display
the day of the week, my question is this: Where should this code go so that
the cell will unlock if the day of the week is Friday?
Thanks!