02-01-2010, 02:36 AM
I have This :
but it does not work
Code:
Function RandomString
Dim str
Const LETTERS = "abcdefghijklmnopqrstuvwxyz0123456789"
For i = 1 to strLen
str = str & Mid( LETTERS, RandomNumber( 1, Len( LETTERS ) ), 1 )
Next
RandomString = str
DataTable.Value("rndstr", dtGlobalSheet) = str
End Function
but it does not work