+ Reply to Thread
Results 1 to 7 of 7

checkbox codes

  1. #1
    Registered User
    Join Date
    10-04-2010
    Location
    Portland, OR
    MS-Off Ver
    Excel 2007
    Posts
    26

    checkbox codes

    Hi,

    I am struggling having my code work for the my checkboxes. Pretty much what I'm trying to do is have my checkboxes when checked enter the caption into the first available row in column N for one of the three checkboxes on the top and then Column O for the checkboxes below the top three. Any help would be appreciated. See workbood attached.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: checkbox codes

    For your Submit button click event:
    Please Login or Register  to view this content.
    The lines ending in 'this one can be removed if there will be only one check box being check at a time.

  3. #3
    Registered User
    Join Date
    10-04-2010
    Location
    Portland, OR
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: checkbox codes

    Thanks for the help, I just tried it and got a "invalid or unqualified reference' when I ran a sub

  4. #4
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: checkbox codes

    At what line?

    I've attached your book with my code adjustment.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-04-2010
    Location
    Portland, OR
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: checkbox codes

    I opened the book and ran it, but I'm getting a code 43. However, when i copied your code and paste it in my workbook the data seems to be copied twice in the PIR worksheet. Also I wanted checkbox1, checkbox2 OR checkbox3 to show up only in column N and then all the other checkboxes show up only in column O. I hope this makes sense. I'll attached my workbook with what've done so far and you can see in PIR sheet how the information is doubled. Again, I really appreciate your help!
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: checkbox codes

    It was double because I didn't read you post correctly. I had it adding a line for each check box that was checked.

    Try this version:
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    10-04-2010
    Location
    Portland, OR
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: checkbox codes

    Thank you, thank you! Your a genius! You have no idea how mmnay nights of sleep I've lost over this. thank you so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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