title: How do I get my VBA Code to loop through all sheets in workbook?
body: <p>I am currently using the following code to remove classifications I do not require in my tables:</p>
  
  <pre><code>Sub RemoveOldPlatforms()
  Dim ws As Worksheet
  
  Set ws = ThisWorkbook.Worksheets("RAW")
  
      ws.Range("$A$1:$J$100000").AutoFilter Field:=2, Criteria1:=Array("Coniferous", "Broafleaf", "Mixedwood", "Water", "Exposed Land / Barren", "Urban / Developed", "Greenhouses", "Shrubland", "Wetland", "Grassland"), Operator:=xlFilterValues
  
      ws.Range("$A$2:$J$100000").SpecialCells(xlCellTypeVisible).EntireRow.Delete
      ws.Range("$A$1:$J$100000").AutoFilter
  
  End Sub
  </code></pre>
  
  <p>As is, I am specifying a single identified worksheet, but how do I loop it through all worksheets in my workbook (20+)?</p>