+ Reply to Thread
Results 1 to 3 of 3

Need macro to fetch value when a user selects a checkbox

  1. #1
    Forum Contributor
    Join Date
    05-24-2015
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    333

    Need macro to fetch value when a user selects a checkbox

    Hello,

    I have 5 checkboxes in my sheet in rows A4 to A8. I have attached the sheet. if user selects the check box the below values should be displayed.

    1. Selects checkbox 1 in collumn A4, then value 1.5 from column E4 should be automatically populated in collumn B4 with heading named values
    2. Selects checkbox 2 in collumn A5, then value 2.3 from column E5 should be automatically populated in collumn B5 with heading named values
    3. selects checkbox 3 in collumn A6, then value 0.25 from column E6 should be automatically populated in collumn B6 with heading named values
    4. selects checkbox 4 in collumn A7, then value 5.9 from column E7 should be automatically populated in collumn B7 with heading named values
    5. Selects checkbox 5 in collumn A8, then value 1.8 from collumn E8 should be automatically populated in collumn B8 with heading named valueds

    Please help with the formula/macro for this.

    Thanks and Regards,
    Santosh
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-24-2009
    Location
    Valrico, FL USA
    MS-Off Ver
    Excel 2016
    Posts
    358

    Re: Need macro to fetch value when a user selects a checkbox

    Try the attached file.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    05-24-2015
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    333

    Re: Need macro to fetch value when a user selects a checkbox

    Thanks a lot for your solution and it works.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to execute a macro when user selects radiobutton
    By amethystfeb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-07-2013, 09:49 AM
  2. Macro that Selects Specific Excel Worksheets to a PDF file & Saves to the User's Desktop
    By Excel Wet Behind Ear in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-31-2013, 01:15 PM
  3. Replies: 2
    Last Post: 08-17-2006, 10:30 AM
  4. Record the time a user selects a macro
    By marcusmccown in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-22-2006, 10:31 PM
  5. [SOLVED] pause macro until user selects correct range
    By JCIrish in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-18-2006, 05:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1