title: Date picker ActiveX excel VBA not responding when created automatically
body: <p>Dear (vba) programmers,</p>
  
  <p>I am building a dynamic filter in excel (with vba and ActiveX controls).
  I would like to use the Microsoft Date and Time Picker Control, Version 6.0 in Excel 2010.
  When I generate a drop down calendar with:</p>
  
  <pre><code>Set OLEObj = Sheets("Blad3").OLEObjects.Add(ClassType:="MSComCtl2.DTPicker.2",   Link:=False, DisplayAsIcon:=False, Left:=10, Top:=10, Width:=123, Height:=40)
  </code></pre>
  
  <p>It is placed correctly, but it doesn't function. When I toggle developers mode on and off it functions all of the sudden. This seems like a bug to me or do I have to activate the object or something like that??</p>
  
  <p>I have the same problem as the "first strange thing" of:
  <a href="http://www.ozgrid.com/forum/showthread.php?t=47290" rel="nofollow">http://www.ozgrid.com/forum/showthread.php?t=47290</a></p>
  
  <p>Hopefully there is someone with the answer.
  Thank's in advance! </p>