Post: Excell 2007 VBA Help
03-15-2011, 07:36 PM #1
Superchunk
Are you high?
(adsbygoogle = window.adsbygoogle || []).push({}); ok so i have my code for permutation
but excel 2007 has a limit of how many coloumns you use
i would like to add to my code that if it gets to the end of the sheet it goes onto the next one

here is my code:
Sub permutation()
Count = 1
For a = 1 To 26
For b = 1 To 26
For c = 1 To 26
For d = 1 To 26
For e = 1 To 26
Cells(Count, 1) = Chr(96 + a) & Chr(96 + b) & Chr(96 + c) & Chr(96 + d) & Chr(96 + e)
Next
Next
Next
Next
Next
End Sub
(adsbygoogle = window.adsbygoogle || []).push({});
03-15-2011, 08:48 PM #2
Use Text edit

---------- Post added at 03:48 PM ---------- Previous post was at 03:48 PM ----------

or notepad
03-17-2011, 04:49 PM #3
RGB
2JZ BBWWARRMMMMM
im no good at this stuff
03-17-2011, 04:51 PM #4
Superchunk
Are you high?
Originally posted by xv View Post
im no good at this stuff


Do you know any other ways to get all the permutations of the alphabet to 29 strings?
03-17-2011, 07:01 PM #5
RGB
2JZ BBWWARRMMMMM
Originally posted by Superchunk View Post
Do you know any other ways to get all the permutations of the alphabet to 29 strings?


like i said b4 man, i dunno

The following user thanked RGB for this useful post:

--Ben-

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo