Question : DTPicker Click Event

In Excel 2007 I want to evaluation if the user chosen end date is after the chosen start date. This is my code.
I get an error on the last line.   "Run-time error '380': Invalid Propery Value". In other routines I also use  DTPickerEnd.Value = dEnd and it works fine.  This code is in Worksheets("Start")


Public Sub DTPickerEnd_Change()
    If Month(DTPickerEnd.Value) < Month(DTPickerStart.Value) _
        And Day(DTPickerEnd.Value) < Day(DTPickerStart.Value) _
        And Year(DTPickerEnd.Value) = Year(DTPickerStart.Value) _
        Or Year(DTPickerEnd.Value) < Year(DTPickerStart.Value) Then
        MsgBox "End Date must be after Start Date."
        dEnd = "6/30" & Year(Now())
        DTPickerEnd.Value = dEnd
    End If
End Sub

Answer : DTPicker Click Event

Ok, the user's account, for EFS, has a x509 certificate and key associated with it. if the xp user account was a local one, then your only hope is that you can recover that keystore from an unformat of the laptop - assuming that win7 has been applied, I would not hold out a great deal of hope there though.

there is no other route - EFS is not easily crackable (despite a certain American newspaper claiming they broke it in 3 days :) and almost all known attacks are on a password protecting the EFS key, not the encryption itself. I would therefore *immediately* discontinue use of the old laptop, remove the hard drive, mount it on another pc via a usb adaptor, and scan it with AEFSDR - which isn't cheap, but presumably cheaper (if it works) than losing the files. AEFSDR Pro can scan hard drives for the keys it needs, which if you are unreasonably lucky will be enough.
Random Solutions  
 
programming4us programming4us