Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2025, 01:43 AM
Pablo2000's Avatar
Pablo2000 Pablo2000 is offline Add LastFileDate update date in cell Windows 11 Add LastFileDate update date in cell Office 2021
Advanced Beginner
Add LastFileDate update date in cell
 
Join Date: Dec 2023
Posts: 72
Pablo2000 is on a distinguished road
Default Add LastFileDate update date in cell

I would like a cell to display the computer date of the last updated date of my excell file. Looking at MS I am told to use...


=FileDateTime("D:\2_Excel_Documents\BudgetSheet.xl sx")

But instead I get #NAME?

Has MS got it wrong?

https://answers.microsoft.com/en-us/msoffice/forum/all/how-to-display-the-last-updated-date-of-a-source/898699fc-2b2e-49ea-89a0-1441c833c98c
Reply With Quote
  #2  
Old 05-23-2025, 03:31 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Add LastFileDate update date in cell Windows 11 Add LastFileDate update date in cell Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

If you read the entire article you will see that FileDateTime is a VBA function, not a regular one
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 05-23-2025, 03:41 AM
Pablo2000's Avatar
Pablo2000 Pablo2000 is offline Add LastFileDate update date in cell Windows 11 Add LastFileDate update date in cell Office 2021
Advanced Beginner
Add LastFileDate update date in cell
 
Join Date: Dec 2023
Posts: 72
Pablo2000 is on a distinguished road
Default

Okay Pecoflyer what is the answere!
Reply With Quote
  #4  
Old 05-23-2025, 06:11 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Add LastFileDate update date in cell Windows 11 Add LastFileDate update date in cell Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

How to Insert Last Modified Date and Time in Excel Cell
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #5  
Old 05-23-2025, 07:04 AM
Pablo2000's Avatar
Pablo2000 Pablo2000 is offline Add LastFileDate update date in cell Windows 11 Add LastFileDate update date in cell Office 2021
Advanced Beginner
Add LastFileDate update date in cell
 
Join Date: Dec 2023
Posts: 72
Pablo2000 is on a distinguished road
Default

THat is for the time an actual cell is updated. I want the actual timestamp of the excell spreadsheet.
Reply With Quote
  #6  
Old 05-23-2025, 08:07 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Add LastFileDate update date in cell Windows 11 Add LastFileDate update date in cell Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

First method is entitled : Using the File Tab to Get the Last Modified Date and Time of the File

Is that not what you need?
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #7  
Old 05-25-2025, 01:35 AM
Pablo2000's Avatar
Pablo2000 Pablo2000 is offline Add LastFileDate update date in cell Windows 11 Add LastFileDate update date in cell Office 2021
Advanced Beginner
Add LastFileDate update date in cell
 
Join Date: Dec 2023
Posts: 72
Pablo2000 is on a distinguished road
Default

No. I was hopping for an excell spread sheet to populate this for me to see rarther than diging it out of the settings tab.
Reply With Quote
  #8  
Old 05-25-2025, 05:44 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Add LastFileDate update date in cell Windows 11 Add LastFileDate update date in cell Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

A small " thank you for trying" with have been nice. Good luck with your quest
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #9  
Old 05-25-2025, 07:57 AM
Alansidman's Avatar
Alansidman Alansidman is offline Add LastFileDate update date in cell Windows 11 Add LastFileDate update date in cell Office 2021
עַם יִשְׂרָאֵל חַי
 
Join Date: Apr 2019
Location: Steamboat Springs
Posts: 115
Alansidman has a spectacular aura aboutAlansidman has a spectacular aura aboutAlansidman has a spectacular aura about
Default

Will the last saved date and time work for you?

If yes, then


Code:
Sub LastSaved()
    Dim x As Date
    x = ThisWorkbook.BuiltinDocumentProperties("Last Save Time")
    MsgBox (x)
End Sub
Also, have you looked at this link-->https://techcommunity.microsoft.com/...a-cell/3690222
__________________
Alan עַם יִשְׂרָאֵל חַ Using O365 v2510
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i highlight a cell red if no date has been entered 30 days after a date in another cell?? Daronovitz Excel Programming 10 07-29-2022 10:32 AM
Formula for looking at 1 cell with a date and then comparing it to four date ranges LearningMom Excel 3 10-27-2017 12:44 PM
calculate date if date entered in cell, do nothing if blank ConfuddledOne Excel 3 11-07-2014 09:37 AM
Make table cell active add date count date MelHerndon Word VBA 3 01-21-2013 04:23 PM
How can I make a cell color RED under the Today's date cell? Learner7 Excel 2 07-08-2010 12:52 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:38 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft