can anyone tell me about send keys.....if possible attach a small code also
SpS
34
Posting Pro
Recommended Answers
Jump to PostHi,
I find this site realy useful.http://www.officecomputertraining.com/vbtutorial/tutpages/page9.asp#send
SendKeys is near the top of the page. You can search from the commands down the left.
Hope this helps.
pG
Jump to Postit 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 …
All 5 Replies
purplegerbil
13
Junior Poster in Training
SpS
34
Posting Pro
jwshepherd
0
Junior Poster
SpS
34
Posting Pro
The_Inferno
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.