title: Use content of cell as text for label in UserForm
body: <p>I have the following Excel spreadsheet:</p>
  
  <pre><code>      A        
  1    Time
  2
  3
  </code></pre>
  
  <p>I would like use the word written in <code>Cell A1</code> as the text for a label on the <code>UserForm</code>. Therefore, I tried to go with this VBA:</p>
  
  <pre><code>Private Sub Label1_Click()
  Label1.Caption = Sheet1.Range("A1").Value
  End Sub
  </code></pre>
  
  <p>However, this code does not use the content from <code>Cell A1</code> as text for the label. <br> What do I have to change in my code to make it work?</p>