0

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?

enter image description here

Community
  • 1
  • 1
Rahul
  • 10,830
  • 4
  • 53
  • 88

0 Answers0