📜  工作日 vba 代码示例

📅  最后修改于: 2022-03-11 14:51:56.797000             🧑  作者: Mango

代码示例1
Weekday(date, [ firstdayofweek ])    ' returns day of week [1-7]

' firstdayofweek:
'    vbUseSystem    0    API NLS parameter
'    vbSunday    1    [Default]
'    vbMonday    2
'    vbTuesday    3
'    vbWednesday    4
'    vbThursday    5
'    vbFriday    6
'    vbSaturday    7