I have an excel spreadsheet that creates eamployees timesheets. Mon thru Sun have dates in them. They do not run off of current date. I am trying to set up a macro that on a click of a button it adds 7 days to each date.
I named each date field as the day of the week.
Here is what I have attenped to do.
Dim Mon, Tue, Wed, Thur, Fri, Sat, Sun As Date
Const x As Integer = 7
Mon = DateAdd("d", 7, Mon)
Tue = DateAdd("d", 7, Tue)
and so forth
I do not recieve any errors but nothing happens
any ideas?
I named each date field as the day of the week.
Here is what I have attenped to do.
Dim Mon, Tue, Wed, Thur, Fri, Sat, Sun As Date
Const x As Integer = 7
Mon = DateAdd("d", 7, Mon)
Tue = DateAdd("d", 7, Tue)
and so forth
I do not recieve any errors but nothing happens
any ideas?