Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Mar 2004
    Location
    White Oak, Pennsylvania, USA
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Erratic SendKeys (2002-SP3)

    I use the following code
    SendKeys "{F4}"
    to open combo boxes on forms. This has begun to perform erratically, sometimes working and other times not.

    Is there some way of making this command more reliable?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Erratic SendKeys (2002-SP3)

    You can use code like this:

    With Me.cboCompany
    .SetFocus
    .Dropdown
    End With

Posting Permissions

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