Of course there is - you just need to decide on a set of rules to
generate them. Things to consider, for example, include fixed length
or variable length, case sensitivity, valid characters, mixtures of
characters (eg must contain at least one numeric character).
You might already have allocated these in the past, and so you have a
naming convention already which you would like to code within Excel -
let us know what that is with a few examples.
Pete