title: vba macro: Which table my cursor is in?
body: <p>Writing a macro I found out that I need to skip the table contents and place my cursor right after that, for this I am using a code as</p>
  
  <pre><code>     Selection.Tables(cnt).Select
       Selection.Collapse WdCollapseDirection.wdCollapseEnd
  </code></pre>
  
  <p>Here, cnt is a counter value which increases each time a table is found, but if run the macro in selective pages then how will i know the number of nth table inside which my cursor is.</p>