dim names as variant
dim n as long
' process names, adding each new one seen into dictionary
for each aCell in range("A2:A7")
name = acell.text & " " & acell.offset(0,1).text
if x.exists(name) then x.add(name, name)
next acell
' do something with the names
names = x.keys ' populates with array of strings
for n = lbound(names) to ubound(names)
' do something with each names(n)
next n