Okay,
Here is some very generic password ...
<font face=Tahoma New><SPAN style="color:#00007F">Sub</SPAN> CreatePassword()
<SPAN style="color:#00007F">Dim</SPAN> strPassword$, strFName$, cel <SPAN style="color:#00007F">As</SPAN> Range, rng <SPAN style="color:#00007F">As</SPAN> Range, _
a$, b$, c$, d$, e$, f$, myLen#, i#, myNum#
Randomize
<SPAN style="color:#00007F">Set</SPAN> rng = Range("C2", Range("A65536").End(xlUp).Offset(, 2))
rng.Clear
myLen = Int(Rnd() * 2 + 6)
<SPAN style="color:#00007F">If</SPAN> myLen > 8 <SPAN style="color:#00007F">Then</SPAN> myLen = 8
<SPAN style="color:#00007F">For</SPAN> <SPAN style="color:#00007F">Each</SPAN> cel <SPAN style="color:#00007F">In</SPAN> rng
tryHere:
myNum = Int(Rnd() * 1000000)
<SPAN style="color:#00007F">If</SPAN> myNum > 100000 <SPAN style="color:#00007F">Then</SPAN> myNum = myNum + 100000
strFName = cel.Offset(, -2).Value
a = Chr$(Int(Rnd() * 10) + 97) <SPAN style="color:#007F00">'97 = 'a'</SPAN>
b = Chr$(Int(Rnd() * 10) + 107) <SPAN style="color:#007F00">'107 = 'k'</SPAN>
c = Chr$(Int(Rnd() * 5) + 117) <SPAN style="color:#007F00">'117 = 'u'</SPAN>
<SPAN style="color:#00007F">If</SPAN> Asc(c) > 122 <SPAN style="color:#00007F">Then</SPAN> c = Chr(122) <SPAN style="color:#007F00">'keeping letters</SPAN>
d = Chr(Int(Rnd() * 10) + 65) <SPAN style="color:#007F00">'65 = 'A'</SPAN>
e = Chr(Int(Rnd() * 10) + 75) <SPAN style="color:#007F00">'75 = 'K'</SPAN>
f = Chr(Int(Rnd() * 10) + 85) <SPAN style="color:#007F00">'85 = 'U'</SPAN>
<SPAN style="color:#00007F">If</SPAN> Asc(f) > 90 <SPAN style="color:#00007F">Then</SPAN> f = Chr(90) <SPAN style="color:#007F00">'keeping letters</SPAN>
<SPAN style="color:#00007F">Select</SPAN> <SPAN style="color:#00007F">Case</SPAN> myLen
<SPAN style="color:#00007F">Case</SPAN> 8
strPassword = a & b & myNum
<SPAN style="color:#00007F">Case</SPAN> 7
strPassword = c & myNum
<SPAN style="color:#00007F">Case</SPAN> <SPAN style="color:#00007F">Else</SPAN>
strPassword = d & e & Left(myNum, 3) & f
<SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Select</SPAN>
<SPAN style="color:#00007F">On</SPAN> <SPAN style="color:#00007F">Error</SPAN> <SPAN style="color:#00007F">Resume</SPAN> <SPAN style="color:#00007F">Next</SPAN>
<SPAN style="color:#00007F">If</SPAN> WorksheetFunction.CountIf(rng, strPassword) > 1 <SPAN style="color:#00007F">Then</SPAN>
<SPAN style="color:#00007F">GoTo</SPAN> tryHere
<SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">If</SPAN>
cel.Value = strPassword
<SPAN style="color:#00007F">Next</SPAN> cel
<SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN>
</FONT>
This is a random 6-8 character password with number and letters. It can have 11, 2 or 3 letters depending on your choice (in the Select Case Statement). Add or remove as desired.
I'm sure there's better out there.. HTH