I added option explicit, and declared all variables as this
Dim dataColumn As Long, outputColumn As Long, tempCol1 As Long, tempCol2 As Long
Dim i As Long
Dim dataVal As String, letterVal As String, decodedVal As String
And a debug - compile shows no issues, but running the code...