[table="width: 500"]
[tr]
[td]Sub RandomNumber()
Dim Order As Variant, Perm As Variant, Parts(1 To 3) As String
Const Letters As String = "abcdefghjkmnpqrstuvwxyz"
Const Symbols As String = """!#$%&()*+-./"
Order = Array("1 2 3", "1 3 2", "2 1 3", "2 3 1", "3 1 2", "3 2 1")
Perm = Split(Order(Application.RandBetween(0, 5)))
Parts(Perm(0)) = Application.RandBetween(1, 9)
Parts(Perm(1)) = Mid(Letters, Application.RandBetween(1, Len(Letters)), 1) & _
Mid(Letters, Application.RandBetween(1, Len(Letters)), 1)
Parts(Perm(2)) = Mid(Symbols, Application.RandBetween(1, Len(Symbols)), 1)
Range("AD7") = Join(Parts, "")
End Sub[/td]
[/tr]
[/table]