Forum Discussion

matheusmhls's avatar
matheusmhls
Copper Contributor
Dec 28, 2023

Excel file change date and time

English: I use Excel on my cell phone and recently it stopped updating the file change date. As soon as I make a change to the file it shows the current date and time, which would be the time I last changed the file. But after a few seconds it returns to an old date and time change, how can I solve this?

 

Português: Eu uso o Excel pelo celular e recentemente ele parou de atualizar a data de alteração dos arquivos. Assim que faço a alteração no arquivo ele mostra a data e hora atual, que seria a hora que alterei o arquivo pela última vez. Mas passado alguns segundos ele volta pra uma data e hora de alteração antiga, como posso resolver isso?

1 Reply

  • esushi's avatar
    esushi
    Brass Contributor

    Solution 1: Use the formula =CELL(filename) to display the file path and modification time, or use Power Query to obtain metadata (=Excel.Workbook(File.Contents(path),true)[Modified]).

    Solution 2. VBA solution: ThisWorkbook.BuiltinDocumentProperties(Last Save Time).Value)

Resources