Hi Jerome,
Please modify the second ''for'' loop
For i = 1 To Len(EndText)
TextToDisplay2 = TextToDisplay1 & Asc(Mid(EndText, i, 1)) & "-"
Next
as given below
For i = 1 To Len(EndText)
TextToDisplay2 = TextToDisplay2 & Asc(Mid(EndText, i, 1)) & "-"
Next
TextToDisplay2 should be used instead of TextToDisplay1 in the ''for'' loop .The ascii codes of StartText and EndText, are the same.I have attached a sample that illustrates this.Let me know if you have any questions.
Regards,
Ebenezer.P
ASCII.zip