How to give a function to execute a button in excel, the excel button is a drop-down list button, so I want to execute an action, the action I want to give me is that I see a box to complete in which I already have the macro for it, what I do not know is how to do it so that when I give one of the options in my drop-down list the necessary picture appears.
Here would go the Code of the drop-down list button so that when I select an option I enable the corresponding box. + Macro below for box to appear.
Sub Listadesplegable1_AlCambiar()
'
'Section1 Macro
' aparece section 1
'
ActiveWindow.SmallScroll Down:=-72
Range("D2:I11").Select
Selection.Copy
ActiveWindow.SmallScroll Down:=60
Range("D58").Select
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveWindow.SmallScroll Down:=12
Range("D57").Select
End Sub
This is the function of the first frame and so on it does it with the frames that I want to appear