Function RandomString( ByVal strLen )     

    Dim str     
    Const LETTERS = "abcdefghijklmnopqrstuvwxyz0123456789"

    For i = 1to strLen      
        str = str & Mid( LETTERS, RandomNumber( 1, Len( LETTERS ) ), 1 )     
    Next     

    RandomString = str

EndFunction

相关文章:

  • 2021-07-06
  • 2021-10-31
  • 2021-12-23
  • 2021-08-07
  • 2021-05-23
  • 2021-12-15
  • 2022-12-23
猜你喜欢
  • 2021-12-28
  • 2022-12-23
  • 2021-12-29
  • 2021-11-30
  • 2021-05-18
  • 2021-11-13
  • 2021-12-22
相关资源
相似解决方案