0 Replies Latest reply on Dec 16, 2013 12:46 PM by Philip Cathell

    How to get VB in MSWord to display Material Name

    Philip Cathell

      Hi,

       

           So I have this MS Word .doc that grabs info from Custom Properties and displays them in Boxes in on a form document.  However, My syntax doesn't work for material since it is not a custom property.

       

           I have the following line that displays the material library AND the material name.  Like this:

      "SolidWorks Materials|6061-T6 (SS)|164"

       

           However, I only want it to show 6061-T6 (SS).

           Here's the line. 

      ----

      MaterialBox.Text = Model.MaterialIdName

      ----

       

      Any help?
      i

       

      thanks,
      Phil