Variable required: <name>

In one of the following statements, you used a name that is not the name of a variable, a property, or a ForAll reference variable:

  • An assignment statement (Let or =) in either of the following forms:

    Let name = ...

    name = ...

  • A Set statement in any of the following forms:

    Set name = New...

    Set name = ObjectReferenceVariable

    Set name = Bind (ProductObjectName)

  • A Delete statement
  • An Erase statement
  • A ForAll statement
  • A Get or Put statement
  • An Input # or Line Input # statement
  • An LSet or RSet statement
  • A Mid or MidB statement
  • A ReDim statement

In each of these statements, the name must be the name of a variable, a property, or a ForAllreference variable.

Replace the name with a valid name, or remove the invalid statement.