Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
sendkey method for forms
I have a sub that calls a form. The form has some code to check data select range etc. I want the sub or form to click "OK" command once i does the checks without user interference. From the forum, I got the key as Application.sendkeys("{Enter}") But where do I put this line? In the form or in the sub calling th form? Sub calls the form Form is shown Form executes whatever, required fields are populated <code executes the OK control returns to the sub does a bunch of things Thanks all for the hel -- reachthepalac ----------------------------------------------------------------------- reachthepalace's Profile: http://www.excelforum.com/member.php...fo&userid=3172 View this thread: http://www.excelforum.com/showthread.php?threadid=53344 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
sendkey help needed | Excel Discussion (Misc queries) | |||
forms that suddenly wont appear using the show method in VBA a bug or a corrupted file perhaps ? | Excel Discussion (Misc queries) | |||
Help! Forms that lose their show method !! | Excel Programming | |||
Sendkey | Excel Programming | |||
SENDKEY method | Excel Programming |