title: What difference does it make if one runs a VBA code in "Sheets", in "ThisWorkbook", and in "Modules"?
body: <p>What difference does it make if one runs a VBA code in "Sheets" ("Sheet1", "Sheet2", etc.), in "ThisWorkbook", and in "Modules" ("Module1" etc.)?</p>
  
  <p>In other words, which one should be used in which cases?</p>
  
  <p><img src="https://i.stack.imgur.com/m8gPD.png" alt="enter image description here"></p>