[Solved] Create a dynamic list of products associated to a list of unique search keywords in VBA
You could use Dictionary object: Sub test() Dim keywordColumn As String, productColumn As String Dim products As String Dim i As Integer Dim myKey, p ‘after adding reference to Microsoft Scripting Runtime ‘Dim Keywords As New Dictionary Dim Keywords As Object Set Keywords = CreateObject(“Scripting.Dictionary”) keywordColumn = “B” productColumn = “A” With ActiveSheet maxRow = … Read more