Add a string value to an array of strings, only if string value hasn’t already been added to the array.
Function (Stringvar Array Items, Stringvar Value) If Array_Contains (Items, Value) = False Then ( Redim Preserve Items[Ubound(Items)+1]; Items[Ubound(Items)]:=Value; ); Items;
I don’t understand. Can you give me an example? I am trying to add the values from a field into a list. The field is Templates_titles