+ Reply to Thread
Results 1 to 6 of 6

checkmarks and dropdowns

  1. #1
    Registered User
    Join Date
    08-16-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Smile checkmarks and dropdowns

    Hi guys! I am in the midst of searching for this information, but so far most of it is a little above my level of understanding. If anyone could provide assistance, I would appreciate it.

    I need to take the attached excel file and do the following:

    1. On the sheet named Current, I need to make all the cells under rows D thru I to where a checkmark will be put in when double-clicked or toggle back to blank when double-clicked again.

    2. I need to be able to use the Patients Menu at the top to archive labs that are completed. So, if I use the Patient menu and select Archive/Retrieve -> Archive Data...then it should select only those rows on the Current sheet with a checkmark marked under the Completed column and move the row to the Archived sheet. Obviously, I'd like to be able to retrieve these as well so they'd move back when retrieve is selected.

    3. Finally, I need to create a dropdown list to on each row under the Test Ordered Column, so that I can click the dropdown and select from the labs that are entered on the Labs sheet.

    I appreciate any assistance. thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: checkmarks and dropdowns

    I've amended the code to add the tick

    I've added code to move completed patients

    You need to adapt that to move them back - decide on a criteria for the move, possibly a column to tick on archived sheet will be easiest

    The drop down list needs Data validation
    Attached Files Attached Files
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    08-16-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: checkmarks and dropdowns

    Wow! That's pretty awesome. The Patients menu doesn't appear to be working correctly anymore, though. Not letting me add patients correctly. Any ideas ? I just realized the Archive sheet doesn't have all the same columns as the Current sheet. I don't know if that makes a difference, but it's not moving all the checkmarks over and it screws up when I retrieve it back. I think a column to tick to move back would be fine as you suggested.

  4. #4
    Registered User
    Join Date
    08-16-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: checkmarks and dropdowns

    to the top

  5. #5
    Registered User
    Join Date
    08-16-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: checkmarks and dropdowns

    to the top

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: checkmarks and dropdowns

    What do you mean by "the patients menu isn't working anymore"

    I've looked at the patients form

    1. I can't see why you need to have a Procedure instead of just placing the code in the button on the form
    2. Your code refers to a sheet that doesn't exist - data, it should be current. In fact it does this in other Procedures
    3. You use With .....End With, this means you don't have to fully qualify the object each time you refer to it, but doing this means you must precede references for the object with a "."
    Please Login or Register  to view this content.
    3. Your sort code sorts only Column A, so the data will not match, you need to sort the Table

    Please Login or Register  to view this content.

+ 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