Please can someone suggest the VBA code to do the following.
The last day of the week is Sunday.
The format i want for the date is : dd/mm/yyyy
I want to store the data of the last day of the week in a variable LastDayOfWeek. (pre Dimmed as Dim LastDayOfWeek as Date)
I want then to check for the value of LastDayOfWeek in row3 starting at column B and then across to the right. If the value is found i then want to exit the sub otherwise i want the value LastDayOfWeek pasted into the next Empty Cell in Row 3.
TIA
The last day of the week is Sunday.
The format i want for the date is : dd/mm/yyyy
I want to store the data of the last day of the week in a variable LastDayOfWeek. (pre Dimmed as Dim LastDayOfWeek as Date)
I want then to check for the value of LastDayOfWeek in row3 starting at column B and then across to the right. If the value is found i then want to exit the sub otherwise i want the value LastDayOfWeek pasted into the next Empty Cell in Row 3.
TIA