Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
08-12-2008, 05:44 PM #1
- Join Date
- Aug 2008
- Thanked 0 Times in 0 Posts
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)