Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've designed an input form that will have the user search for a client by
their number. My goal is to have the code search a column, and if found, enable about 6 input fields so the user can update the records. When they click save, the fields are saved to the correct row & column and the input fields are retuned to disabled. The user will be searching for a number, and there is the possiblity that a duplicate number may be present over time, so can the search be narrowed to something like the last 30 days? The search column is "C". The columns to have the input data saved to are, J, K, M, O and P. Sounds simple enough, however my attempts have failed at every turn. Let me know if you need more clarification on this, and thank you in advance for any help provided. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Post the code and specify where the problems are. Here is some code from the
VBA help With Worksheets(1).Range("a1:a500") Set c = .Find(2, lookin:=xlValues) If Not c Is Nothing Then firstAddress = c.Address Do c.Value = 5 Set c = .FindNext(c) Loop While Not c Is Nothing And c.Address < firstAddress End If End With "Mike "MrMunka" Gillingham" wrote: I've designed an input form that will have the user search for a client by their number. My goal is to have the code search a column, and if found, enable about 6 input fields so the user can update the records. When they click save, the fields are saved to the correct row & column and the input fields are retuned to disabled. The user will be searching for a number, and there is the possiblity that a duplicate number may be present over time, so can the search be narrowed to something like the last 30 days? The search column is "C". The columns to have the input data saved to are, J, K, M, O and P. Sounds simple enough, however my attempts have failed at every turn. Let me know if you need more clarification on this, and thank you in advance for any help provided. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Enable / Disable User Form Fields Based on Input. | Excel Programming | |||
Input one criteria to search in 5 fields | Excel Discussion (Misc queries) | |||
Reset data entry fields to 0 or nothing | Excel Programming | |||
IF ColumnA = ltr Add Column B | Excel Worksheet Functions | |||
Adding new numbers as I type without duplicates from Sheet1,ColumnA to Sheet2,ColumnA | Excel Worksheet Functions |