title: Compile error vba - I want to overwrite it
body: <p>I read the following:
  <a href="https://stackoverflow.com/questions/31442394/compile-error-method-or-data-member-not-found">Compile error Method or data member not found</a>
  However, I am not allowed to download anything on the work computer. Hence I'm trying to overwrite the compile error by having a Userform appear with dropdown dates for people to use when they do not have on their computer the Calendar Date picker option available.</p>
  
  <p>Is there any way that I can overwrite a compile error? I have tried the following code:</p>
  
  <pre><code> Private Sub UserForm_Initialize()
      On Error GoTo EnterDateManually
          If IsDate(ActiveCell.Value) Then
              Me.MonthView1.Value = ActiveCell.Value
          End If
  EnterDateManually:
      Enter_Date.Show
      End Sub
  </code></pre>
  
  <p>But it still gives me the compile error. The compile error highlights MonthView1 since on this computer I removed the missing References library since I don't have it on this computer and I'm sure other user won't have it either on their computer.</p>
  
  <p>I know when you get an error with number you can overwrite it (though you should try to fix it first :-) but it seems that overwriting the Compile error is not possible? Or is it...
  Thanks for you help</p>