title: Iterate over all rows and columns in table with VBA
body: <p>I have a table in a worksheet that I want to iterate over and change the value of using a function I had set up. The function just calls on multiple Replace functions to change the strings.</p>
  
  <p>My question is how do I iterate over the values in the table only?</p>
  
  <p>I was able to do it with columns using the following code:</p>
  
  <pre><code>For Each cell In Sheets("RawData").ListObjects("RawTable").ListColumns("REQUESTNAME").DataBodyRange.Cells
      cell.Value = decodeEnt(cell.Value)
  Next
  </code></pre>
  
  <p>But how do I modify that code to make it iterate through the rows as well? I tried using a combination of ListRows and ListColumns, but didn't know where to go afterwads. Here is where I got to before I was unsure:</p>
  
  <pre><code>Dim listObj As ListObject
  Set listObj = Sheets("RawData").ListObjects("RawTable")
  
  For Each tableRow In listObj.ListRows
      For Each tableCol In listObj.ListColumns
          ' Would using intersect work here?
          ' listObj.Cell.Value = decodeEnt(cell.Value)
  Next
  </code></pre>
  
  <p>Any help is appreciated.</p>