In the event code for each commandbutton, you would call this routine, for instance

 Call HideThisLayer(CommandButton1.Caption)
ANy chance of posting your document to see what is happening?