我只会用笨方法,自己写函数,下面这个是求第一天的
Public Function Ds(ToDay As Date) As Date
Dim Y As Integer
Y = Year(ToDay)
Select Case DatePart("q", ToDay)
Case 1
Ds = DateSerial(Y, 1, 1)
Case 2
Ds = DateSerial(Y, 4, 1)
Case 3
Ds = DateSerial(Y, 7, 1)
Case 4
Ds = DateSerial(Y, 10, 1)
End Select
End Function