In lieu of using a forms command button object on a chart, I've decided to use a bevel shape (mainly for cosmetic reasons). I've assigned a macro to it and it's working fine, but I do not want it to be a printable object.
I've tried the following, but it isn't working (i.e., it still prints). The first line is selecting the shape, but the second line doesn't appear to be working. I'm not getting an error message. What am I doing wrong?
I've tried the following, but it isn't working (i.e., it still prints). The first line is selecting the shape, but the second line doesn't appear to be working. I'm not getting an error message. What am I doing wrong?
Code:
Private Sub Chart_Activate()
ActiveSheet.Shapes("Bevel 1").Select
Selection.PrintObject = False
End Sub