• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Create all combinations for specific string

YasserKhalil

Well-Known Member
Hello everyone
I have this string in A1 : yasser/15
I need to create all combinations for this string ..
for examples:
--------------
YASSER15/
yasSer15/
15/yasser
/15/YASser
YasseR15/
yAssEr1/5

and so on ...
I think there will be a big list of the results ..
Thanks advanced for help
 
Hi ,

What is the purpose ?

What you want are permutations , not combinations. Without considering the case of the letters , the number of permutations of 9 characters is 362880 ; with the introduction of upper case and lower case , it will be much more.

Narayan
 
Thanks a lot Mr. Narayan for reply
So it is possible for doing that or not ..
How did you count the results ..?
 
Thanks a lot for links
As for my purpose I am afraid that it is to be taken as hacking process but in fact it is a problem of mine with my own workbook
I have put a password for my workbook and I forgot it but I just remember string but the problem is that the string is mixed small and capital letters
So I am searching for a way to find all permutations
 
It is a password to open the workbook ..
It is xlsm extension.. as I found some ways to break xls files only
 
Then I'd suspect that the practicalities of a brute force VBA attack my be limited. Are there any restrictions on the permutations - i.e. can the letters/digits/symbols be in any order, or are the numbers and letters always together, other than perhaps having the forward slash within them?

In a nutshell, is something like eSsay15r/ a possibility?
 
Back
Top