Hello All,
First, thanks for checking this out! I have a basic formula used to get Saturday as a week ending date to use as a string for creating folders. When the code is used on a Saturday it does not detect the following Saturday. I would like to know if it's possible to tweak the below formula or something new, so if I run the code on a Saturday the code will utilize next Saturday's date?
First, thanks for checking this out! I have a basic formula used to get Saturday as a week ending date to use as a string for creating folders. When the code is used on a Saturday it does not detect the following Saturday. I would like to know if it's possible to tweak the below formula or something new, so if I run the code on a Saturday the code will utilize next Saturday's date?
Code:
Dim dt As String
dt = Format((Now() - Weekday(Now()) + 7), "mm-dd-yy")