I am trying to use VBA to encode the letters of given words into numbers and then use them in algebra.
For example, given that A = 11, E = 17, G = 2, N = 41, O = 37, T = 13, AGE = 11 * 2 * 17 and TO+N = 13 * 37 + 41.
I can get the Nth individual letter using Mid(Word, N, 1) but how do I then convert it to its numerical equivalent? All letters of the alphabet have numerical equivalents.
Bookmarks