Thread
:
Rounding Dates
View Single Post
#
4
Posted to microsoft.public.excel.programming
Myrna Larson[_3_]
external usenet poster
Posts: 45
Rounding Dates
The following should also work
Sub Tester1a()
Dim cell As Range
For Each cell In Selection
With cell
.Value = .Value - Weekday(.Value, vbSaturday)
End With
Next cell
End Sub
Reply With Quote
Myrna Larson[_3_]
View Public Profile
Find all posts by Myrna Larson[_3_]