Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to change or remove a macro assignment to buttons.
I use this to change the text of a shape that I use as a button: ActiveSheet.Shapes("Rectangle 5").Select Selection.Characters.Text = "Mark Anomolies" How would I change or remove the macro assignment to that button? TIA, Ken |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Ken,
To change assignment, try: ActiveSheet.Shapes("Rectangle 5")..OnAction = "MyNewMacro" To Remove the assignment: ActiveSheet.Shapes("Rectangle 5")..OnAction = "" --- Regards, Norman "Ken Loomis" wrote in message ... I would like to change or remove a macro assignment to buttons. I use this to change the text of a shape that I use as a button: ActiveSheet.Shapes("Rectangle 5").Select Selection.Characters.Text = "Mark Anomolies" How would I change or remove the macro assignment to that button? TIA, Ken |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Ken,
Try something like this. To remove only: ActiveSheet.Shapes("Rectangle 5").OnAction = "" To change: ActiveSheet.Shapes("Rectangle 5").OnAction = "New Macro Name" HTH Regards, Howard "Ken Loomis" wrote in message ... I would like to change or remove a macro assignment to buttons. I use this to change the text of a shape that I use as a button: ActiveSheet.Shapes("Rectangle 5").Select Selection.Characters.Text = "Mark Anomolies" How would I change or remove the macro assignment to that button? TIA, Ken |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Use Macro To Change Which Macro Assigned To Command Button | Excel Discussion (Misc queries) | |||
Command Button Assignment | Excel Discussion (Misc queries) | |||
Macro assignment disappears | Excel Programming | |||
Relative Macro Assignment | Excel Programming | |||
Macro assignment to button gets reassigned | Excel Programming |