Hi Dave!
The importance of "the" as opposed to "a" is that finding "the"
password will allow use for a multiplicity of nefarious purposes.
Finding "a" password will only work in the context in which the
password was used.
The "word" found by, for example, the AllInternalPasswords subroutine
will be OK for other worksheets in the file and for other workbooks
with internal protection using the same password. But it won't work
for Workbook opening passwords or VBA passwords because they are
different contexts and use a different algorithm.
What AllInternalPasswords does is find a password that has the same
value in Excel's "internal" password algorithm as the "real" password
has. Change algorithm and "the" password will have a different value
from "a" password and won't work.
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.