Hi Natygrosso,
Please review the updated spreadsheet. Click the Scramble button to enter normal words and have them scrambled based on the value conversion from column A to B. Click the Unscramble button to enter a scrambled message and perform a conversion from column B to A.
The way this is setup is that when scrambling a letter it looks for the letter in column A and returns the "changed character" from column B. When unscrambling, it looks for the letter in column B and returns the "original character" from column A.
For example:
Scramble the word "Paul" and you get "Iewq"
Unscramble the text "Iewq" and you get "Paul"
You could set it up another way, such that it looked for the letters "Iewq" in column A and returned new changed characters from column B, but that could get confusing (especially if you're trying to get back to the original word/phrase).
The Scramble and Unscramble macros only differ by one line, and there are probably easier ways to do this than using Dictionary Scripting Objects and an array... but Leith helped me with a word/character replacement macro several weeks ago using this method, and I wanted to take some time to try to write one myself.
Hope that helps!
Bookmarks