Results 1 to 2 of 2
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    calculate sequence of letter (2000)

    how to have a list of possible sequence from AA to ZZ....
    Example:
    AA
    AB
    AC
    ..
    ZZ

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: calculate sequence of letter (2000)

    Dim i As Integer
    Dim j As Integer
    Dim r As Integer

    For i = 1 To 26
    For j = 1 To 26
    r = r + 1
    Range("A" & r) = Chr(64 + i) & Chr(64 + j)
    Next j
    Next i

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •