title: Searching an Array in Word (Visual Basic for Applications)
body: <p>I have set up three arrays in Word. The arrays are as follows:</p>
  
  <pre><code>tacData = Array("32064600", "33001000", "33001100", "33002400", "33003000", "33002400", "35011001", "35013200", "35124100", "35124100")
  makeData = Array("Alcatel", "Alcatel", "Sagem", "Samsung", "AEG Mobile", "Samsung", "Nokia", "Maxon", "Siemes", "Nokia")
  modelData = Array("One Touch EasyHD", "91009109MB2", "RC410G14", "SGH-200", "Sharp TQ6", "SGH-5300", "DCT-3", "MX6832", "MC399 Cellular Termnial", "DCT-4")
  </code></pre>
  
  <p>I have made a user form which get a TAC (Value) from the User. Can I get this value and search for it in the <b>first</b> array and get its ID so that I can get the make and model from the other two arrays? I have tried using some code samples that I found but they do not seem to work with Word throwing errors. They were things like Application.Match. </p>
  
  <p>On a side note, would there be a better way to store this information rather than three arrays?</p>