Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello folks.
In a sheet, I have a drop down list of Patient IDs. Say cell A1. next to it, on cell B1, I have a pull-down menue of their specific Disease. There are about 200 such Patient IDs that I need to assign their disease to. On a separate sheet, I have a list of about 10,000 patient IDs. What I like to be able to do is to set up a button that lunches a VBA. What I want this VBA program to do is look through the 10,000 or so list of Patient IDs on the second sheet, and find the one that matches the same Patietn ID that I have selected from my pull down menu on the first sheet and then copy the disease that I choose from cell B1 in the cell next to that patient's ID on the second sheet. I hope I made sense. Basiclly, I need a complete VBA that I can copy and paste in my code window, assign that click-event button to it and use it. Essentially, what I want is as I choose a patient ID from cell A1, sheet 1 and assign to this patient is a disease from pull-down menu in B1, sheet 1, that this disease be copied in front of it correct patient Id (among many thousands of patient id) on sheet2. I hope someone can help us out :) thanks Thrava |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
command button that copies and pastes from one list box to another | Excel Discussion (Misc queries) | |||
clicking on a button copies the choice *(VBA) | Excel Discussion (Misc queries) | |||
Get info on toolbar button by clicking on it | Excel Programming | |||
add text to cell by clicking a choice in drop down list | New Users to Excel |