title: VBA to Trim all Cells in an Access Table
body: <p>I'm relatively experienced with Object oriented programming, but this is my first time ever working in Office with VBA and I'm entirely stumped by the syntax. I've been doing some searching and messing with it for the past hour or so, but have been trouble actually getting a macro that runs successfully and does what I need.</p>
  
  <p>I'm attempting to loop through every cell in an Access table and apply the Trim function to the contents of that cell and, as a bonus, I'd like to remove all extra spaces in the string (if any). I.e. <code>"  Trim this__string "</code> would simply become <code>"Trim this string"</code> (I used the underscore there to represent individual, multiple spaces since StackOverflow didn't want to show my multiple spaces). </p>
  
  <p>Any code example of doing something like this, or at least something to get me close and then I can tinker with it, would be greatly appreciated. Thanks!</p>