You do not specify the structure of 'a block of letters and words' or the values you wish to assign to each letter of the alphabet.
So, this solution is my interpretation of the exercise.
The following macro will create a table of letters A-Z in column IU and numbers 1-26 in column IV correspondingly.
It will then evaluate each text string in column A and display a message box stating whether the text string is a valid word found in the spell checker or not. If it is a valid word, it will return the value of the letters comprising each word from the table previously constructed. It will also place the value of the word in the appropriate cell in column B.
Copy the macro to the clipboard:
Sub ValidWords()
Dim i, LastRow, spCk
LastRow = Range("A" & Rows.Count).End(xlUp).Row
For i = 1 To LastRow
If Cells(i, "A").Value <> "" Then
spCk = Application.CheckSpelling(word:=Cells(i, "A"), _
IgnoreUppercase:=True)
If spCk = True Then
For j = 1 To Len(Cells(i, "A"))
x = Val(Application.VLookup(Mid(Cells(i, "A"), j, 1), _
Range("IU1:IV26"), 2, False))
wordval = wordval + x
Next j
MsgBox UCase(Cells(i, "A").Value) & " in " & _
Cells(i, "A").Address(0, 0) & _
" is a valid word." & " The value is " & wordval, _
vbOKOnly, "Result"
Cells(i, "B").Value = wordVal
ElseIf spCk = False Then
MsgBox UCase(Cells(i, "A").Value) & " in " & _
Cells(i, "A").Address(0, 0) & " is not a valid word.", _
vbOKOnly, "Invalid"
End If
wordval = 0
End If
Next i
End Sub
Press ALT + F11
In the menus at the top of the VBE, select INSERT > MODULE
Paste the macro into the editing area to the right.
Close the VBE and return to the worksheet.
Press ALT + F8
When the Macros window opens, highlight the macro and click 'Options..'
Enter a letter to be used as a keyboard shortcut and click 'OK'.
To run the macro, press Ctrl + your shortcut letter.
If you add more text strings to column A, the macro will include them the next time it is called.
If your 'blocks' are in multiple columns, advise the cell range(s) and I will modify the macro.