来个最给力的Private Sub Command2_Click()a = InputBox(" 请输入日期")m = DateDiff("y", CDate("1990-01 -01"), CDate(a))If m = 0 ThenMsgBox "今日打渔!"ElseIf m Mod 5 = 0 Or m Mod 4 = 0
Private Sub Command1_Click()
On Error GoTo ERR_EXIT
Dim n As Long
n = DateDiff("d", CDate(InputBox("请输入一个日期", "渔夫")), #1/1/1990#) Mod 5
If n = 0 Or n = 4 Then
Option ExplicitPrivate Sub Command1_Click()Dim StDate As DateDim EndDate$, mMod%StDate = #1/1/1990#EndDate = InputBox("请输入查询日期", "打渔晒网")If Not IsDate(EndDate) Then Ms