0
這個月是我的代碼:墊「0」
If FinalMonth = "" OR FinalYear = "" Then
FinalMonth = Month(Now())
FinalYear = Year(Now())
End If
Select Case(FinalMonth)
Case "01","03","05","07","08","10","12"
FinalDay = "31"
Case "04","06","09","11"
FinalDay = "30"
Case "02"
If ((FinalYear Mod 4) <> 0) Then
FinalDay = "28"
Else
FinalDay = "29"
End If
End Select
我想我一個月被設定爲0 1號(1月)每個例子中,最後01個月之前,我該怎麼辦呢請?