Solved: Combination list using VBA
Hi,
I need to generate a list of 3 position codes using these letters/values:
A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9,#,$
The only restriction is the 3 position values(codes) should not have all
numbers. It should always have atleast a minimum of one letter or special
character. That is: value 111 is not valid, however value 11A or A11 or 1A1 or, AA1 etc
are valid.
I looked into PERMUT funciton, but it does not help me.
I am not sure how many possible combination of 3 position alphanumeric values
can be generated and how do i code this in VBA.
Thanks
Generate fixed number of codes.
Hi CreganTur,
I would like to use your code to generate a fixed number of codes. For example, say I need only 50 generated codes, so the first one will be 001, then 002, 003, etc.. to 050.
Is there a way to make sure that when I run the program again it will start after the last generated code (in the above example it will start generating at 051 onwards)?
Thanks!