it will go whereever the cursor is located. If you want someone to push a button and have "COLOR" input in a text box, you must first change the focus.
Private Sub Command1_Click()
text1.setfocus ' Sets focus to the txet1 textbox
sendkeys "COLOR" 'Types COLOR in the text1.text
end sub
it will go whereever the cursor is located. If you want someone to push a button and have "COLOR" input in a text box, you must first change the focus.
Private Sub Command1_Click()
text1.setfocus ' Sets focus to the txet1 textbox
sendkeys "COLOR" 'Types COLOR in the text1.text
end sub
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.