Hi Mike
Assume the number you want to convert is in A1 then the following formula will convert it to the corresponding letter:
=CHAR(64+A1)
Richard
ADDED BY ADMIN
VB:
Option Base 1
Private Sub Worksheet_Change(ByVal Target As Range)
Dim MyArray
Dim lloop As Long
MyArray = Array("a", "b", "c", "d", "e", "f", "g", _
"h", "i", "j", "k", "l", "m", "n", "o", "p", "q", _
"r", "s", "t", "u", "v", "w", "x", "y", "z")
With Target(1, 1)
If .Column = 3 Then
If IsNumeric(.Value) Then
If .Value >= LBound(MyArray) And .Value <= UBound(MyArray) Then
Target(1, 1).NumberFormat = """" & UCase(MyArray(Target(1, 1))) & """"
End If
End If
End If
End With
End Sub
Bookmarks