返回列表 上一主題 發帖

[發問] 修改日期問題尋問

回復 1# rouber590324
檔案位置請自行加入
Sub EX()
Dim myFso As Scripting.FileSystemObject
Set myFso = New Scripting.FileSystemObject
With myFso.GetFile("檔案位置")
   Sheets(1).[a1] = "最後更新日:" & .DateLastModified
End With
Set myFso = Nothing
End Sub

TOP

        靜思自在 : 吃苦了苦、苦盡廿來,享福了福、福盡悲來。
返回列表 上一主題