title: Object does not support property or method ForEach Loop
body: <p>Hi I'm trying to iterate through worksheets of a workbook using a For Each loop. My code is pretty simple:</p>
  
  <pre><code>Dim visualsBook As Workbook
  Set visualsBook = ThisWorkbook
  For Each ws In visualsBook
     /action
  Next
  </code></pre>
  
  <p>However I keep getting an "Object does not support property or method" error. Does anyone know why this is happening?</p>