A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Perhaps you did it with VBA
Adds a Comment showing formula in cell
Sub comment_cellformula()
'single cell formula into a Comment
Selection.AddComment (Left(Selection.Formula, Len(Selection)))
End Sub
Gord