Object variable or With variable not set

You've attempted to reference an object without first setting a variable to it.

For example:

Option Explicit
Private x As CommandButton

Private Sub Command1_Click()
    Set x = Command1 ' Comment this out to get the error.
    x.Caption = "TEST"
End Sub