Dear everyone;

I am after a function, which could work out the inverse of a letter:

Dim a as string

a b c d e f

A = F E D C B A

Now the inverse would be F E D C B A

The inverse is worked out by working out the inverses of the substitution, for example the inverse of E would be B, the Inverse of A would be F, the inverse of C would be D.

Can anyone please help me find a function, I was told a mid function could be used. Do we need a loop, please please me with the code, I will be able to do the rest, please show me some example of working code