title: Vba concatenation
body: <p>I am trying to concatenate this but it is not working.
  I have initialized my array in this way (<code>Dim Myarray(1 To 2) As String</code>.)</p>
  
  <p>I dont know weather Myarray has been initialized or not after passing it as string .
  i tried debugging the code with (<code>debug.print</code>) but i was able to print only one by one values .</p>
  
  <p>But when i print (<code>myarray</code>) code mismatch error is coming.</p>
  
  <pre><code>Debug.Print Myarray
  </code></pre>
  
  <p>I need both the values in one variable myarray . so that i can pass both the values of the array variable in a single URl and get the expected result</p>
  
  <pre><code>    Myarray(1) = 141599734375#
      Myarray(2) = 161631397677#
      'Debug.Print Myarray(1)
       With Sheet1.QueryTables.Add(Connection:= _
          "URL;http://www.ebay.in/itm/" + "Myarray)", _
          Destination:=Sheet1.Range("$A$9"))
  </code></pre>
  
  <p>I have initialized my array in this way (<code>Dim Myarray(1 To 2) As String</code>.)
  I dont know weather Myarray has been initialized or not after passing it as string .
  Please look into the above code and help me resolving this issue.
  I am new to VBA,Please  help me solving this issue.</p>