I need unique values only in MyList
Here is the code I am using. I get all the values into MyList, which is a dropdown box, but I can't seem to figure out how to keep duplicate entries from getting into it. If someone could help me with this, I'd greatly appreciate it. Thanks!
var MyList =
ActiveDocument.Sections["Dashboard - Customer Reports2"].Controls["DropDown2"]
var RowCount = ActiveDocument.Sections["Results - Customer Selection"].RowCount
var MyCol = ActiveDocument.Sections["Results - Customer Selection"].Columns["Sales Territory"]
for (j = 1 ; j <= RowCount ; j = j+1)
var Temp = MyCol.GetCell(j)