assign macro to button programmatically
Many thanks and regards to Munich
"Helmut Weber" wrote in message
...
Hi Zone
Sub Macro1()
ActiveSheet.Shapes("Button 1").OnAction = "testB"
End Sub
--
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Vista Small Business, Office XP
|