gaw
06-12-2001, 05:14 PM
Hi, everyone:
I used VBA macro to create a command button control on the first slide and wrote the sub CommandButton1_Click(), which will be activated when the button is clicked. On the second slide, the same VBA macro is run to create another command button. The question is, how can I have this button automatically inherit the code of the button on slide 1. That is, its CommandButton1_Click() sub automatically become the same as the button on its previous slide?
Thank you very much.
Gang
BTW, the answer from rsouthon (Rob) for my last question is very helpful. Thanks.
I used VBA macro to create a command button control on the first slide and wrote the sub CommandButton1_Click(), which will be activated when the button is clicked. On the second slide, the same VBA macro is run to create another command button. The question is, how can I have this button automatically inherit the code of the button on slide 1. That is, its CommandButton1_Click() sub automatically become the same as the button on its previous slide?
Thank you very much.
Gang
BTW, the answer from rsouthon (Rob) for my last question is very helpful. Thanks.