返回列表 上一主題 發帖

[發問] VB更改win10系統時間,權限問題

本帖最後由 jackyq 於 2016-11-6 15:53 編輯

VBA.Date  本身就是被設計成可以接受賦值的

https://msdn.microsoft.com/en-us/library/office/gg278644.aspx

(1) 回傳系統時間
Returns a Variant (Date) containing the current system date.

(2) 設定系統時間 ( 所以是可以接受  Date = DateAdd("m", 1, Date)  的寫法  )
To set the system date, use the Date statement.

TOP

        靜思自在 : 並非有錢魷是快樂,問心無愧心最安。
返回列表 上一主題