I am using excel 2010.
I have recorded following macro for playback (edited) and used customUI editor to make excel addin.
This is my first macro encounter with excel.
Sub Open1(control As IRibbonControl)
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
ActiveCell.FormulaR1C1 = "SomeText"
End Sub
Why the task is not being recorded for redo?