Trebor76 - I am pressed to make this easy as possible for sales people to use i.e. inputting a state and getting a response...
would a variant of this Macro help? (found doing searches)
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
Dim PasteRow As Long
Dim CompanyList As Range
Application.EnableEvents = False
PasteRow = WorksheetFunction.Max(3, Range("D65536").End(xlUp).Row)
If Target.Address = "$B$2" Then
Range("D3:E" & PasteRow).Clear
PasteRow = 3
For Each CompanyList In Sheet2.Range("ProductList")
If CompanyList.Offset(WorksheetFunction.Match(Sheet1.Range("SelectedCompany"), Sheet2.Range("CompanyList"), 0), 0) <> "" Then
Range("D" & PasteRow) = CompanyList.Value
Range("E" & PasteRow) = _
CompanyList.Offset(WorksheetFunction.Match(Sheet1.Range("SelectedCompany"), Sheet2.Range("CompanyList"), 0), 0)
PasteRow = PasteRow + 1
End If
Next
End If
Application.EnableEvents = True
End Sub
Bookmarks