VBA Excel: Invalid Property
<p>I get the error "Invalid property" for <code>.Caption =</code>. Any ideas why? TabData is my userform name and HiddenLabel is my label name. RList() is an array that I am trying to index to find the largest element. Thanks for the help! </p>

<pre><code> For l = 1 To R_win
        Set TabData.HiddenLabel.Caption = RList(l).Value
        w = HiddenLabel.Width
        If w &gt; m Then
            m = w
        End If
    Next l
</code></pre>