Call Randomize
Dim High As Long, Low As Long, Key As Long
High = (Int(Rnd() * 72) + &HB0)
Low = IIf(Int(Rnd() * 2) = 1, (Int(Rnd() * 63) + &H40), (Int(Rnd() * 33) + &H80))
Key = High*256 Or Low
Print Chr(Key)
' Print Chr((Int(Rnd() * 72) + &HB0) * 256 Or IIf(Int(Rnd() * 2) = 1, (Int(Rnd() * 63) + &H40), (Int(Rnd() * 33) + &H80)))
或许可以试试这个