How can you return the next letter in a sequence Ie txt = a+ would equal b, then c then d etc..
B Bob Myles Apr 24, 2004 #1 How can you return the next letter in a sequence Ie txt = a+ would equal b, then c then d etc..
G Greg Wilson Apr 24, 2004 #3 Assuming the current letter is derived from the active cell: Sub NextLetter() Dim txt As String txt = ActiveCell.Text txt = Chr(Asc(txt) + 1) MsgBox txt End Sub Regards, Greg
Assuming the current letter is derived from the active cell: Sub NextLetter() Dim txt As String txt = ActiveCell.Text txt = Chr(Asc(txt) + 1) MsgBox txt End Sub Regards, Greg