title: Command Button () should be clicked only when certain sheet available
body: <p>I am getting data on daily basis. For that I use different command buttons to filer data and gather data from different sheets. Already kept made around 25 command buttons on first sheet. My issue is e.g. command button say 20 should not be work or should not be click until unless sheet no. 20 available. Currently I am using </p>
  
  <pre><code>Dim j As Integer, k As Integer
  j = Worksheets.Count
  For k = 20 To 20
  With Worksheets(k)
  </code></pre>
  
  <p>Sometimes by mistake I click on command button which particular sheet not available and code does not generate any data.</p>