title: How can you get the current table in MS Word VBA?
body: <p>I wish to be able to run a VBA module which manipulates the table that I'm currently in (i.e., the cursor is somewhere within that table). The VBA code will perform an identical operation on each table that you're in when you run it.</p>
  
  <p>So, for example, let's say I have a module which needed to bold the top row of each table (the headings). It would need to locate the table object (called <code>whatever</code>) that you're currently in so that it could manipulate <code>whatever.rows(0)</code>.</p>
  
  <p>How can I get the table object from the cursor position? I also need to detect if I'm <em>not</em> in a table and do nothing (or raise an error dialog).</p>