alktrigger
Aimless Extraordinaire
- Local time
- Today, 16:20
- Joined
- Jun 9, 2009
- Messages
- 124
I'm creating a report in excel that needs to adapt to the output. Is there a way to count letters of the alphabet (a-b..y-z) similar to using regular numerical variables?
My current approach is as follows. It is not implemented yet since I am hoping there is a better way
I am hoping there is a way to replace the 26 individual lines defining characters with a Do-Loop that does that. Any suggestions?
My current approach is as follows. It is not implemented yet since I am hoping there is a better way
Code:
Dim strChar(1 to 26) As String
strChar(1) = "A"
strChar(2) = "B"
strChar(3) = "C"
------
strChar(25) = "Y"
strChar(26) = "Z"
I am hoping there is a way to replace the 26 individual lines defining characters with a Do-Loop that does that. Any suggestions?