Results 1 to 3 of 3

Thread: Sendkeys agen

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Posts
    28

    Post

    SendKeys Sends the keys one key at a time.
    So how wod you Send the keys alt f4 at the Same time.

    I'v Tride SendKeys "%{" & Chr$(18) &" "& vbKeyF4 & "}" but that gets me the invaled Procduer Call or agument Error


    Thaks

    p.s. Yes I do Wont to Close the Ative Form

    plese Help

    [This message has been edited by Stepeh (edited 01-07-2000).]

  2. #2
    Hyperactive Member
    Join Date
    Jun 1999
    Posts
    308

    Post

    Sending such combination will close a form, which is currenty active. Are you sure that is what you want?

  3. #3
    Lively Member
    Join Date
    Oct 1999
    Posts
    101

    Post

    Here's how you do it:

    Code:
    SendKeys "%{F4}"
    All the best.

    Chris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width