Here are a couple ways to identify the buttons. The first loop will work for buttons created from the Control Toolbox toolbar while the second loop will work for buttons created from the Forms toolbar.

It sounds like the buttons that you have are from the Forms toolbar. However, I would suggest that you replace them with buttons from the Control Toolbox. Instead of assigning a macro to the button you would add code to the button's click event. These buttons can be identified as CommandButtons as opposed to a generic msoFormControl type.


HTH




VB Code:
  1. Dim o As OLEObject
  2.    
  3. For Each o In Sheet1.OLEObjects
  4.     If TypeName(o.Object) = "CommandButton" _
  5.      Then MsgBox o.Name, vbOKOnly, "Here's one!"
  6. Next o
  7.    
  8. Set o = Nothing
  9.    
  10. '¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
  11.    
  12. Dim s As Shape
  13.    
  14. For Each s In Sheet1.Shapes
  15.     If Left(s.Name, 7) = "Button " And s.Type = msoFormControl _
  16.      Then MsgBox s.Name, vbOKOnly, "Here's one!"
  17. Next s
  18.    
  19. Set s = Nothing