I don't want to know WHAT are the differences, I just want to know "Y/N Are these sheets identical?"
Unfortunately, superficially Hashing the file doesn't answer that :(
Specifically ...
- I took an .XLSX file, and file-copied it.
- Compared hashes ... Hashes were the same. Yay!
- Opened one file, clicked on a cell, saved & closed file.
- Compared hashes ... Hashes were different. Boo!
- Opened both files, selected the same cell in each file. Saved & closed files.
- Compared hashes ... Hashes were still different. Boooooo!
- Deleted one file and re-copied the remaining file.
- Compared hashes ... Hashes were the same. Yay!
- Opened one file, didn't touch anythign at all!, saved & closed file.
- Compared hashes ... Hashes were still different. Boooooooooooooooo!
So, evidently Excel just doesn't save the file in a stable manner. (or the has includes the last-saved date?)
Is there any way to get a stable hash, based on the cell contents of a sheet?
One option would be to use a macro to check the sheets. If the result of the counter is greater than 0 then the sheets are different.