| | |
| | Tools > References > Microsoft Scripting Runtime |
| | Dim dict As New Scripting.Dictionary |
|
|
| | Dim dict As New Scripting.Dictionary |
|
|
| For Each cell In Range(“A1:A10”) |
|
|
|
| | Set mydic = CreateObject("scripting.dictionary") |
| | |
| | |
| | |
| | If dict.Exists(“Key”) Then |
|
|
| | |
|
|
| | |
| For Each key In dict.Keys |
|
|
| | For Each key In mydic.Keys ‘Cells(i, 1).Resize(1, 3) = Split(key, "|") Cells(i, 4).Value = mydic(key) |
| | |
| | dict.CompareMode = vbBinaryCompare |
| Make Key Case Insensitive | | dict.CompareMode = vbTextCompare |