Set IdAddressList = CreateObject("System.Collections.ArrayList")
tmp_Addrss_In = Selection.Address
tmp_Addrss = Array("$", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U")
For Each tA In tmp_Addrss
tmp_Addrss_In = Replace(tmp_Addrss_In, tA, "")
Next tA
tmp_Addrss_Out = tmp_Addrss_In
Dim TextStrng As String
Dim Result() As String
Dim DisplayText As String
TextStrng = tmp_Addrss_Out
Result = Split(TextStrng, ",")
For i = LBound(Result()) To UBound(Result())
IdAddressList.Add Result(i)
Next i
For Each Name In IdAddressList
Debug.Print Name
Nextcitovat