title: VBA: Align cell values in vba code
body: <p>How can I align(center) my cell values for my below code?</p>
  
  <pre><code>For x = 0 To EleXML.ChildNodes.Length - 1    
        Range("A10").offset(x,0) = EleXML.ChildNodes.Item(x).getAttribute("aa")
        Range("A10").offset(x,0) = EleXML.ChildNodes.Item(x).getAttribute("bb")
        Range("A10").offset(x,0) = EleXML.ChildNodes.Item(x).getAttribute("cc")
  Next x
  </code></pre>
  
  <p>Please help,thanks in advance.</p>