I have this VBA Macro assigned to a button but it does not work. The code does work in the immediate window or if I hit the play button but will now work by assigning it to a button. Anyone have any idea? Thanks for your help.
Sub DrawBorder()
Application.CommandBars.FindControl(ID:=6056).Execute
End Sub
Sub DrawBorder()
Application.CommandBars.FindControl(ID:=6056).Execute
End Sub