title: VBA compile error: Method or data member not found
body: <p>everyone. here's my code. When debugging it says "VBA compile error: Method or data member not found" and highlights line: Familienkutsche.strFarbe = "Blau"
  If I outcomment it, it says the same thing about the line that follows. What does it not like? Everything is written in one block, so why doesn't he recognize either "strFarbe" or "Geschwindigkeit"? having said that, if I remove Familienkutsche and just leave .strFarbe = "Blau" everything works. Thank you in advance. </p>
  
  <pre><code>Option Explicit
  
  Public strFarbe As String
  Private bytTempo As Byte
  Private blnTempoSperre As Boolean
  
  Public Property Let Geschwindigkeit(Speed As Long)
  If (Speed &gt; 250) Then
      bytTempo = 250
      blnTempoSperre = True
  Else
      bytTempo = Speed
      blnTempoSperre = False
  End If
  End Property
  
  Public Property Get Geschwindigkeit() As Long
      Geschwindigkeit = bytTempo
  End Property
  
  Public Property Get abgeriegelt() As Boolean
      abgeriegelt = blnTempoSperre
  End Property
  
  
  
  Public Sub Autos()
  Dim Familienkutsche As Auto
  Let Familienkutsche = New Auto
  
  Familienkutsche.strFarbe = "Blau"
  Familienkutsche.Geschwindigkeit = 320
  Debug.Print Familienkutsche.Geschwindigkeit
  Debug.Print Familienkutsche.abgeriegelt
  End Sub
  </code></pre>