Question : Option Button Selection

Hi Experts,

I need Experts help to revised this code. When I made selection for “Option Button 7 (OB7)’ its work but ” the “Option Button 78” not so. Hope Experts can help me to revised the “Option Button 78” code.


1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
Sub OB7()
    ActiveSheet.Shapes("TextBox1").Select
    Selection.Formula = "'Detail View'!A115:E132"
    Range("K82").Select
End Sub

Sub OB78()
    ActiveSheet.Shapes("TextBox1").Select
    Selection.Formula = "'Detail View'!A134:E151"
    Range("K82").Select
End Sub

Answer : Option Button Selection

You need to assign the button to macro OB78 - this isnt currently there

  1. right click the button 
  2. assign macro 
  3. pick OB78 
See working file

Dave
Random Solutions  
 
programming4us programming4us