West Man
Well-known Member
- Joined
- Mar 27, 2006
- Messages
- 1,175
Beginner at VBA. I have a string variable named Result and an array - Dim myarray(1 To 56) As Integer.
1. Can I load the string (56 characters) into the array (with each character of the string resulting as an element) as simply as myarray = result
2. What is the best way to sum the elements of the array - they will be only ones and zeros
1. Can I load the string (56 characters) into the array (with each character of the string resulting as an element) as simply as myarray = result
2. What is the best way to sum the elements of the array - they will be only ones and zeros