• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Macros for selecting from dropdown

I am looking to write macros to select text from the dropdown.

I have provided the details in the attached spreadsheet.
 

Attachments

  • Macros for DropDown.xlsx
    16.3 KB · Views: 7
Code:
Sub selectedScore_Type()

[C4] = ActiveSheet.Buttons(Application.Caller).Text
End Sub

Sub selectedSector()
[C5] = ActiveSheet.Buttons(Application.Caller).Text
End Sub

Assign code to each set.
 
Is there a way, I can select multiple buttons at a time. For e.g. under region macros, is it possible to select two regions (Central and Northeast) or anyother combination at a time.
 

Attachments

  • AA.xlsm
    393.8 KB · Views: 2
Back
Top