Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following function which looks at a list of data when "Cust" -
(customers name) is specified and returns the sales rep and sales value. The function finds the first occurence of that name in the list. I would like it to display all occurences. I would be grateful for any ideas. Private Sub Retrieve_Click() Dim Cust As Range With Range("Custdata") Set Cust = .Find(CUstname.Value) If Cust Is Nothing Then MsgBox ("Customer not found!") CUstname.Value = " " Exit Sub Else With Range(Cust.Address) Salesrep = .Offset(0, 3) LinevalueGBP = .Offset(0, 16) End With End If End With End Sub Thank you, Esther |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Display contents of a cell in a user form text box -- Excel 2003 VBA | Excel Discussion (Misc queries) | |||
I want user form to display when opening a work book | Excel Worksheet Functions | |||
user form question: text box to display result | Excel Discussion (Misc queries) | |||
user form question: text box to display result | Excel Worksheet Functions |