Excel 2010中包含创builddate以及最近更新date的vba标题

我需要在Excel 2010中创build包含创builddate以及最后保存date的标题。 这是我迄今为止。 我需要的是将创作date放入的作品(以下是我需要帮助的内容。

Option Explicit Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, _ Cancel As Boolean) Cancel = False With ActiveSheet.PageSetup .LeftHeader = "Date Created " & THIS IS WHAT I NEED HELP WITH .CenterHeader = "" .RightHeader = "Last Update " & Format(Now(), "mm/dd/yyyy") End With End Sub