bobunknown
Registered User.
- Local time
- Today, 07:04
- Joined
- May 25, 2018
- Messages
- 77
Evening All,
I have ben working on this for a little while now trying a few iterations and this is what I have so far.
It is intended to uncheck a yes/no (True/false) box every year on a set date. however it dose not
Currently I am getting an "Expected Array" Error on this line:
Please can anyone provide a bit of direction?
Edit:
its 5pm on a Friday... im going home
Thanks in advance.
I have ben working on this for a little while now trying a few iterations and this is what I have so far.
Code:
Sub Yearly_WTN()
Dim Day As Integer, Month As Integer
Dim CurrentDate As String
Day = Day(Date)
Month = Month(Date)
CurrentDate = Format(DateSerial, dd.mm.yyyy)
Debug.Print CurrentDate
If CurrentDate = "01.04.yyyy" Then
Set Check256 = False
End If
End Sub
It is intended to uncheck a yes/no (True/false) box every year on a set date. however it dose not
Currently I am getting an "Expected Array" Error on this line:
Code:
Day = Day(Date)
Please can anyone provide a bit of direction?
Edit:
its 5pm on a Friday... im going home
Thanks in advance.