Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Hi,
I need a code for a user form command button (cmdSearch) based on entries input into any of 3 text boxes (txtCustomerID/txtName/txtStreet) to search the 3 corresponding worksheet columns (CustomerID/Name/Street). If any of the 3 entries is found then populate all text boxes (CustomerID/Name/Street/Suburb/Postcode/Phone) based on adjacent data in row. If data not found then msgbox "No current record" which then allows user to input new data manually in text boxes and then cmdAdd creates a new row on worksheet. I have the cmdAdd bit sorted but just don't want to have to repeatedly input data if already existing. NB: entries may be on more than one row but adjacent info will be the same. Hope this makes sense! Thanks in advance! Rachel |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
search button on sheet (ctrl+f) | Excel Programming | |||
Search multiple cells with conditions, sum and auto populate! | Excel Worksheet Functions | |||
how to make search button in the first sheet | Excel Discussion (Misc queries) | |||
VBA Search Date Range and Populate Spreadsheet Cells | Excel Programming | |||
can I auto-populate cells on another sheet? | Setting up and Configuration of Excel |