怎么在excel里的vb中调用日期型变量呀?

2024-11-22 11:59:10
推荐回答(4个)
回答1:

a = VBA.Month(b)

回答2:

Function a(ByVal b As Date) As Integer
a = Month(b)
End Function

回答3:

month(b)
year(b)
day(b)

回答4:

Month(b)