Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50061

Making a 3 character string using a random selection of file name characters?

$
0
0
Hey,

I'm trying to make a 3 character random string using every letter, symbol and character able to go into a text file so

Essentially I want the following...
Code:

Dim randString as String

randString = ...

... is the code/function to create the random characters

I found something over at ozgrid but unsure if I am allowed to link to their forum, however the code I found doesn't do symbols and doesn't make a blacklist for the ones below

Following symbols can't be used in file names:
Code:

|
\
/
:
*
?
<
>

How would I go about implementing something like this?

Viewing all articles
Browse latest Browse all 50061

Trending Articles