I have an external app which is not a Microsoft product and I want to automate using it. I've already used sendmesage successfully to control various UI elements, like this one for pressing a button
However I just don't seem to find anything about setting the value of a datepicker in an external app. If I could use sendmessage and WM_KEYDOWN to change the value that would be OK as well. Is there a way of doing this in VBA or am I better of using some other programming language like Autoit?
Code:
Call SendMessage(OK_button, BM_CLICK, 0, ByVal 0&)