Thread
:
formula for finding Friday
View Single Post
#
4
Posted to microsoft.public.excel.programming
Don Guillett
external usenet poster
Posts: 10,124
formula for finding Friday
you said looping so here is a looping macro
Sub iffriday()
For Each c In Selection
If Application.Weekday(c) = 6 Then MsgBox c.Address
Next
End Sub
--
Don Guillett
SalesAid Software
"EdStevens" wrote in message
oups.com...
Looping through a series of cells with dates, need to compute from the
given date the date of the following Friday. If the given date *is*
Friday, I need that date returned, not the date of the Friday of the
following week.
Thanks.
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett