Excel.Controls.Button clickedButton = (Microsoft.Office.Tools.Excel.Controls.Button)sender; clickedButton.Visible = false; // Allow the user to make the button ...
msdn.microsoft.com