Date Modified List

MrDB4Excel

Active Member
Joined
Jan 29, 2004
Messages
334
Office Version
  1. 2013
Platform
  1. Windows
I use several worksheets to keep track of pension income, bank statement data, and living expenses.
In the worksheet titled “CurrencyConversionRatesWebQuery.xlsm” I have a sheet titled “Date Modified List” in which I have listed in one column the file names of several worksheets and in the next column the date last modified.
Some of these files are .xlsm and some are .xlsx. I would prefer to not use vba as you can see in the image several files are .xlsx.
Is there a method or formula that auto-updates the specific file’s date last modified when the file is saved using a date and time format. I am currently using this format: ddd-mmm-yyyy -- hh:mm.
Obviously whether it is ddd/mmm/yyyy -- hh:mm or mmm-ddd-yyyy -- hh:mm or mmm/ddd/yyyy -- hh:mm or any such combination is irrelevant. What is important is that the method or formula returns the current date and time when the file is saved.
This specific sheet titled “Date Modified List” which I am using to corral all the worksheets would link to the relevant Excel file’s cell containing the “date last modified” input in the relevant file.
Attached image shows a portion of this list contained on the sheet titled “Date Modified List” for which you see the 2 column labels.
Thanks for any help offered.
DateLastModified.jpg
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
you can use Power Query for the name of files and Last Modified Date but, because PQ doesn't support hyperlink, you will need replace = with = manually (if not vba) for each refresh result table
 
Upvote 0
you can use Power Query for the name of files and Last Modified Date but, because PQ doesn't support hyperlink, you will need replace = with = manually (if not vba) for each refresh result table
Hello Sandy,
I am a bit confused about the "replace = with = manually" so does this mean I do this in each file? Perhaps there is a method to acquire this data from each file but using vba only in the CurrencyConversionRatesWebQuery.xlsm file and thus acquire all file data using vba only in this file? As you see in the image I do have some file types .xlsm, so I am not totally against using vba. I only did not want to turn all the files of type .xlxs into macro files.
Open to all possibilities using vba in one file and or PQ in combination with vba in one file.
 
Upvote 0
so you need data from these files or just filename, LMDate and link to them?
 
Last edited:
Upvote 0
with link in result table it will be as text and looks like
=HYPERLINK("F:\folder1\forlder2\anyfile.xlsx","anyfile.xlsx")
you will need replace = with = (manually or with vba) then it will looks like anyfile.xlsx

if you want data from these files use From Folder feature then you can do what you want with it
 
Upvote 0
so you need data from these files or just filename, LMDate and link to them?
I only need the date and time each file was last saved and each instance of such to appear in the one file CurrencyConversionRatesWebQuery.xlsm on sheet Date Modified List. the date and time would of course auto-update when each file was opened and saved thus linking that data to CurrencyConversionRatesWebQuery.xlsm on sheet Date Modified List.
 
Upvote 0
with link in result table it will be as text and looks like
=HYPERLINK("F:\folder1\forlder2\anyfile.xlsx","anyfile.xlsx")
you will need replace = with = (manually or with vba) then it will looks like anyfile.xlsx

if you want data from these files use From Folder feature then you can do what you want with it
I'm sorry, but this has me scratching head wondering how and what to do with this.
 
Upvote 0
ops, ignore post above, here is a proper example
Before
before.png

After change "= to =
after.png
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,946
Messages
6,122,401
Members
449,081
Latest member
JAMES KECULAH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top