2 Replies Latest reply: Feb 18, 2014 10:02 AM by Javier Martinez Juanas RSS

    Add another value to the object returned by the getSelectedValues function

      Hi,

       

      excuse me for my english.

       

      I want to add another value to the object returned by the getSelectedValues function and i don't know how i can do it.

       

      This is my code:

       

      sub ADDNULLSELECTION()

       

        set doc = ActiveDocument

        set selectedValues = doc.fields("Project_Id").getSelectedValues

       

          // Here should be the code that adds another value to the "selectedValues" variable but i have not found the kind of object that returns the getSelectedValues function and i don't know how i  can do it.

         

        doc.fields("Project_Id").SelectValues(SelectedValues)

       

      end sub

       

       

      ¿Can someone help me please?

       

      Thanks.