Here are two routines that pull the formula from a note and put the formula in a note. I had a very specific need for this, but I can’t recall why now.
' Creates a formula from the Note
' Copyright under GPL by Mark Grimes
Sub mgNote2Formula()
For Each c In Selection.Cells
c.Formula = c.NoteText
Next
End Sub
'
' Put the formula in the note
' Copyright under GPL by Mark Grimes
Sub mgFormulaToNote()
For Each c In Selection.Cells
c.NoteText (c.Formula)
Next
End Sub
The contents of this blog are licensed under the Creative Commons “Attribution-Noncommercial-Share Alike 3.0″ license.