+ Reply to Thread
Results 1 to 2 of 2

Assign dynamic value to checkboxes

  1. #1
    Registered User
    Join Date
    07-14-2015
    Location
    India
    MS-Off Ver
    3
    Posts
    24

    Assign dynamic value to checkboxes

    HI,

    I have created a runtime checkboxes in vba. This checkboxes are reference to excel rows :-

    Equipment Finishing (painting, scratches, damage, etc)
    Equipment Alignment (doors, removable panels/covers, locks, section-to section, etc)
    Equipment / Device Labels/Nameplates and Component Layout
    Torque Marking
    Component / Device Inspection (damage to parts, missing screws, etc)



    GIS Swgr SF6 Swgr
    Equipment Finishing (painting, scratches, damage, etc) 0.5 0.1
    Equipment Alignment (doors, removable panels/covers, locks, section-to section, etc) - 0.2
    Equipment / Device Labels/Nameplates and Component Layout 0.5 0.4
    Torque Marking 0.5 -
    Component / Device Inspection (damage to parts, missing screws, etc) - 0.2

    I created a form with combo box which have "GIS Swgr" "SF6 Swgr" "MC Swgr"

    as list. When the user changes the item in combo box it searches in excel and automatically hides the checboxes where there is "-" in row. I am using the below code to do the same.


    Please Login or Register  to view this content.


    My requirement now is that when a user selects "GIS Swgr" in combo box, it will show the checkboxes. Now I want to assign numbers to this checkboxes such that when a user checks

    Equipment Finishing (painting, scratches, damage, etc)
    Equipment / Device Labels/Nameplates and Component Layout

    then it should add "0.50" and "0.50" and return a msg box with total as "1". Similarly when a user selects "SF6 Swgr" then it should do the same with "0.1" and "0.4" and add them and return Total as msgbox "0.5"
    Please find the attached file for better understanding.

    Thanks
    Attached Files Attached Files
    Last edited by MOHAMMESALMAN; 08-27-2015 at 02:45 AM.

  2. #2
    Registered User
    Join Date
    07-14-2015
    Location
    India
    MS-Off Ver
    3
    Posts
    24

    Re: Assign dynamic value to checkboxes

    http://www.vbforums.com/showthread.php?803639-Assign-dynamic-value-to-checkboxes&p=4925507#post4925507


    Please find the above link for any query about my post.

+ 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. Assign dynamic value to checkboxes
    By MOHAMMESALMAN in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-26-2015, 04:00 AM
  2. Assign number to combination of checkboxes
    By laguna92651 in forum Excel General
    Replies: 3
    Last Post: 11-11-2014, 01:20 AM
  3. [SOLVED] Please help! macro code needed to assign to command button to check a column of checkboxes
    By cnbv in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2013, 04:47 AM
  4. [SOLVED] Dynamic Number of Checkboxes
    By Bob1980 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2013, 01:07 PM
  5. Creating Dynamic Checkboxes
    By moosenator in forum Excel General
    Replies: 1
    Last Post: 10-02-2012, 09:32 PM
  6. Assign Macro(s) to multiple checkboxes
    By realdealsxbl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2012, 09:14 PM
  7. How do I assign macro codes to multiple checkboxes
    By spamunch in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-14-2011, 11:05 AM

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