Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Why not just make the button invisible? Well, the below macro gives an example of both solutions. Private Sub CommandButton1_Click() msg = MsgBox("Hello") Me.CommandButton1.Visible = False 'Me.CommandButton1.Delete End Sub Regards, Per "Bishop" skrev i meddelelsen ... I have created a button and have assigned a macro to it. How do I code the existing macro to delete the button once the macro has executed? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
show time of Refresh button execution | Excel Programming | |||
Command Button Macro Execution Failure | Excel Programming | |||
Create a button to continue old macro execution | Excel Discussion (Misc queries) | |||
stop code execution with button | Excel Programming |