The initialize event for UserForm1 isn't being executed.
I don't' know why but there is definitely something strange going on.
For example UserForm isn't listed in the left dropdown in the UserForm module, it should be.
UserForm_Initialize is listed but as if it's a separate sub and isn't connected to the userform.
Also, when you double click UserForm1 focus doesn't goto the Initialize event as it should.
I did find this strange line in the class module.
dias_calendar2 = Userform1(DateSerial(Year(Calendar2), Month(Calendar2) + 1, 1 - 1)) ' variavel que fica com a data em formato DD-MM-AAAA - 31-05-2012
What is that supposed to do?
Bookmarks