hi
im trying to use the windows API to enter a password into a reflection window that pops up.
My problem is that i can step through the code using F8, and see the password being
entered and the ok button pressed.
However, when i run the code, it stops at the point where the password prompt window pops up
and the cursor is just blinking waiting for input.
What do i need to do to make this work please? i have tried adding the do loop to wait for the pop up
and also tried application.ontime but both dont work.
thanks
The API function declarations are as follows:
and the function to enter the password is:
The VBA code in excel is
For reference, the setupkeys sub is
Bookmarks