A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Here is, perhaps, a more complete UDF function which will report the empty string if the referenced cell has no text in it, the font name if all character's in the cell have the same font name and a semi-colon delimited list of all the font names in use if the cell's text is composed of characters with different (multiple) font names...
Function FontName(Rng As Range) As String
Dim X As Long, FN As String
If Rng.Count > 1 Then Exit Function
If Len(Rng.Value) = 0 Then Exit Function
FontName = Rng.Font.Name & ""
If Len(FontName) Then Exit Function
For X = 1 To Len(Rng.Value)
FN = Rng.Characters(X, 1).Font.Name
If InStr(FontName, FN) = 0 Then FontName = FontName & FN & "; "
Next
If InStr(FontName, "; ") Then FontName = Left(FontName, Len(FontName) - 2)
End Function
NOTE: Please mark the message or messages (yes, you can mark more than one) that answer your question as the "Answer" so that others will know your question has been resolved.