0
我有一個Excel報告程序。打印時,我希望日期位於左側。VBScript不工作?頁面設置錯誤
我用這個代碼
.LeftHeader = "Printed on &D &T"
不過,我需要把註釋在上面的「頭」的評論。
head = "In these quotes should be the date"
什麼應該在報價單上打印日期?
我有一個Excel報告程序。打印時,我希望日期位於左側。VBScript不工作?頁面設置錯誤
我用這個代碼
.LeftHeader = "Printed on &D &T"
不過,我需要把註釋在上面的「頭」的評論。
head = "In these quotes should be the date"
什麼應該在報價單上打印日期?
以下給出格式化字符串的日期。您可以修改它以符合您的要求
head = Format(Date(), "yyyy/mm/dd")