Hey guys. I'm working on a vba function that randomly inputs a letter of the alphabet A-Z into a specified destination range.
I'm thinking something like this:
Sub Alpha_Gen()
Dim row as integer
Dim col as integer
for row = 1 to 20
for col = 1 to 10
cells (row, col) = [no idea what to put here to randomly generate something A-Z]
next row
next col
End sub
What do you guys think? Is there a statement that does something like this?
Or do I need to create an array that holds the alphabet and call from it randomly somehow?
I'm thinking something like this:
Sub Alpha_Gen()
Dim row as integer
Dim col as integer
for row = 1 to 20
for col = 1 to 10
cells (row, col) = [no idea what to put here to randomly generate something A-Z]
next row
next col
End sub
What do you guys think? Is there a statement that does something like this?
Or do I need to create an array that holds the alphabet and call from it randomly somehow?