title: Export Excel-Cells to TXT file with defined length
body: <p>I have an Excel file that looks as follows:</p>
  
  <p><a href="http://i.stack.imgur.com/AMi3c.jpg" rel="nofollow">http://i.stack.imgur.com/AMi3c.jpg</a></p>
  
  <p>(sorry for not embedding the image but I am not allowed to do that at the moment because I just registered here)</p>
  
  <p>I want to export this to a TXT file where the number of characters of each column is given. </p>
  
  <p>For example:
  Every cell from Column A should have exactly 3 characters in my textfile, Column B should have 5. If my cell does not contain the exact number of characters then the TXT file should be filled up with spaces.</p>
  
  <p>So the TXT file should look like this:</p>
  
  <p><a href="http://i.stack.imgur.com/5U7AM.jpg" rel="nofollow">http://i.stack.imgur.com/5U7AM.jpg</a></p>
  
  <p>I worked with Excel Macros before but I'm not really sure how to get started on this one. Thanks for any help, very much appreciated</p>