It's better to use methods that take up less memory. Though Oscar's method does work and has some advantages, here's my recommendation: use CHR$ combined with RND. PRINT CHR$(RND(26)+65) This can be slightly adjusted to use lowercase letters: PRINT CHR$(RND(26)+97) Then you'll use less memory.