Possible to find new file location with last known old location in VBA

Bassie

Board Regular
Joined
Jan 13, 2022
Messages
66
Office Version
  1. 2019
Platform
  1. Windows
Hi everyone,

I have a list of path files in my excel sheet and sometimes these paths change for whatever reason. Is it possible to find the new file path location automatically based on the last known old location?

Regards,
Bassie
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Are you saying that you want to find out where each of the files is now?

Does each file have a unique name?
 
Upvote 0
Are you saying that you want to find out where each of the files is now?

Does each file have a unique name?
I would like to know where the files are even if the file name or file path changes. Not sure if this is even possible
 
Upvote 0
It is the file name and it's path that identifies it.

The combination of these two represents a unique reference.

I don't think that it is possible.
 
Upvote 0
Solution
It is the file name and it's path that identifies it.

The combination of these two represents a unique reference.

I don't think that it is possible.
Thats what i was afraid of sadly. Is it also not possible to add a categorie or label to the file to make it unique?
 
Upvote 0
It is the combination of the file name and it's path that are the label and it's category in effect.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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