Public Function WeekDateArr(ByVal y As Integer, ByVal m As Integer) As Variant
'功能:返回当前月度中各周的日期范围
'参数:y -- 年度, m -- 月度
Dim monthday0 As Date, monthday1 As Date
Dim weekday0 As Date, weekday1 As Date
Dim Arr() As String
Dim i As Integer
monthday0 = DateSerial(y, m, 1)
monthday1 = DateSerial(y, m + 1, 0)