title: Run code on multiple sheets
body: <p>I have this code.</p>
  
  <pre><code>Const pw   As String = "password"    '&lt;-change password here
  ActiveSheet.Unprotect pw
  Range("B7").QueryTable.Refresh BackgroundQuery:=False
  ActiveSheet.Protect pw
  </code></pre>
  
  <p>It unprotects, refreshes data and reprotects.  Currently it runs from a button on the active sheet. I want the button to do the same thing for two different sheets.</p>