tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,133
- Office Version
-
- 365
- 2019
- 2016
- Platform
-
- Windows
Hi Everyone,
Hope this makes sense.
Every week I create lots of documents for the last week, things like Wages, Sales etc there is about 20 different docs in total.
On a Monday I run a very detailed macro that goes into lastweeks documents and and creates a head office dashboard for me using some data from all 20 docs.
the only problem I have with this is I sometimes forget to do one or more of the jobs in hand so effectively some of the files I need are missing.
The easiest way to deal with this in my current set up would be to check if each file exists in the file location I have for it. so this is what I want
So as shown below but for 20 rows, A is the File location, each one is different, B is the file name (if I have to set these two columns up differently that will be fine.
C tells me if the file was found or not.
if anyone could help me do this that would be great..
Tony
<tbody>
</tbody>
Hope this makes sense.
Every week I create lots of documents for the last week, things like Wages, Sales etc there is about 20 different docs in total.
On a Monday I run a very detailed macro that goes into lastweeks documents and and creates a head office dashboard for me using some data from all 20 docs.
the only problem I have with this is I sometimes forget to do one or more of the jobs in hand so effectively some of the files I need are missing.
The easiest way to deal with this in my current set up would be to check if each file exists in the file location I have for it. so this is what I want
So as shown below but for 20 rows, A is the File location, each one is different, B is the file name (if I have to set these two columns up differently that will be fine.
C tells me if the file was found or not.
if anyone could help me do this that would be great..
Tony
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 | File Location | File Name | Does File Exist? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2 | "S:\Docs\ New Documents Folder\New Wages London.xlsm"<strike></strike> | New Wages London<strike></strike> | Not Found! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 | "S:\Docs\ Old Documents Folder\New Sales1 London.xlsm"<strike></strike> | New Sales1 London<strike></strike> | Found! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4 |
<tbody> </tbody> | Last Years Sales1 London<strike></strike> | Not Found! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
7 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
9 |
<tbody>
</tbody>