May 1, 2006 #1 NFLDUser IS-IT--Management Joined Apr 17, 2006 Messages 47 Location CA I'd like to find a way to get the date for the next Sunday from the current date. How would I go about this?
I'd like to find a way to get the date for the next Sunday from the current date. How would I go about this?
May 1, 2006 #2 Golom Programmer Joined Sep 1, 2003 Messages 5,595 Location CA Try Code: Dim NextSunday As Date NextSunday = Dateadd("d", 8-WeekDay(Date), Date+7) [small]No! No! You're not thinking ... you're only being logical. - Neils Bohr[/small] Upvote 0 Downvote
Try Code: Dim NextSunday As Date NextSunday = Dateadd("d", 8-WeekDay(Date), Date+7) [small]No! No! You're not thinking ... you're only being logical. - Neils Bohr[/small]
May 1, 2006 Thread starter #3 NFLDUser IS-IT--Management Joined Apr 17, 2006 Messages 47 Location CA Excellant, thanks!! Upvote 0 Downvote