date modification fichier excel/last modification date in excel - Microsoft Community


j'aimerai savoir comment insérer une fonction pour montrer la date de dernière modification d'un fichier excel.

i want know how insert last date of modification in excel sheet

merci/thanks

bonjour nadia,

j'aimerai savoir comment insérer une fonction pour montrer la date de dernière modification d'un fichier excel.

i want know how insert last date of modification in excel sheet

merci/thanks

copy following function standard code module of personal.xlsb file:

'=========>>
public function lastmodified() date
   lastmodified = activeworkbook.builtindocumentproperties("last save time")
end function
'<<=========

with function saves in personal.xlsb file,  the  last modification date may obtained  active workkbook thus:

            =personal.xlsb!lastmodified()

for more information personal workbook, see following microsoft support article

   créer et enregistrer toutes vos macros dans un classeur unique

===

regards,

norman



Office / Excel / Windows 10 / Office 2016



Comments

Popular posts from this blog

Getting ErrorCode: 120018 when trying to access Microsoft account - Microsoft Community

The message was sent to a distribution list ‎(DL)‎ - Microsoft Community

Activation Error 0x8004FE93 - Microsoft Community