+ Reply to Thread
Results 1 to 7 of 7

Checkbox

  1. #1
    Registered User
    Join Date
    04-20-2008
    Location
    New York City
    MS-Off Ver
    2003
    Posts
    38

    Checkbox

    I would like to make a sheet with a set of Checkboxes that once pressed will populate cells with information.

    In the included file you see what I am trying to do. The checkboxes are in row 2 and the information resides in rows 4 thru 8. If the user selects checkbox A2 then “25 Love Lane” is populated into cell A4. If the user selects checkbox D2 then “90 Ferry Ave” will be populated in cell A7.

    How can I accomplish this? Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Checkbox

    to be honest i cant see what you are trying to achieve. whay would someone just click one of these?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-20-2008
    Location
    New York City
    MS-Off Ver
    2003
    Posts
    38

    Re: Checkbox

    to clarify, the address cells will be blank until the user specifies which address they want shown by clicking on or checking the appropriate checkbox.

    I used the 'addresses' scenario as an example. I want to have 5 checkboxes and whenever 'any' one is checked - the information assigned to that specific checkbox will populate cells within the sheet.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Checkbox

    ok just go into design mode
    click view code and put
    Please Login or Register  to view this content.
    if you want others to clear put

    Please Login or Register  to view this content.
    but im sure there's a better way! depending on what you really want.
    you could group option buttons/checkboxes from forms toolbar instesd


    but if i were using check boxes and onl

  5. #5
    Registered User
    Join Date
    04-20-2008
    Location
    New York City
    MS-Off Ver
    2003
    Posts
    38

    Re: Checkbox

    The following code works well.

    Please Login or Register  to view this content.
    but it does not clear the cell if i uncheck the box.

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Checkbox

    try
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    04-20-2008
    Location
    New York City
    MS-Off Ver
    2003
    Posts
    38

    Question Re: Checkbox

    Quote Originally Posted by martindwilson View Post
    try
    Please Login or Register  to view this content.
    that works ! wow..thanks alot

+ 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