Mega Code Archive

 
Categories / VisualBasic Script / Excel
 

Take the current text value, and add the message INVALID

Sub MyMacro          ActiveCell.Value = "INVALID: " & ActiveCell.Value End Sub