bobgoblin12
New Member
- Joined
- May 10, 2016
- Messages
- 7
I have two directories one called Orig and one called New
Each one of these will have two sub-dirs, and should have the exact same file names, with the exact same contents on
Sheet1 - columns A - column BG
Sheet2 - columns A - column K
Sheet3 - columns A - column L
How can I se Excel VBA to compare each file in the Orig to the New directory and ensure that the file contents are the same?
If the file names and contents match 100% i'd like to add the file names to a worksheet called match
If the file names and contents do NOT match I'd like to add the file names to a worksheet called Error
Each one of these will have two sub-dirs, and should have the exact same file names, with the exact same contents on
Sheet1 - columns A - column BG
Sheet2 - columns A - column K
Sheet3 - columns A - column L
How can I se Excel VBA to compare each file in the Orig to the New directory and ensure that the file contents are the same?
If the file names and contents match 100% i'd like to add the file names to a worksheet called match
If the file names and contents do NOT match I'd like to add the file names to a worksheet called Error