using {PRTSCR}

S

scharee

hi
i need to capture screen from an application and paste it into a word
document, i learnt {PRTSCR} wont work directly with sendkey. though i did it
an year back but forgot the password of my VBA project now nothing seems be
working so had to start off fresh. here is what i want to do..

Private Sub CommandButton1_Click()
AppActivate "e-point Windows Desktop 6.0", -1
SendKeys "%^{PRTSC}", -1

'Activating MS Word
AppActivate "ledger print", -1

SendKeys "^v", -1
For i = 1 To 100000000
Next i
End Sub


need instant HELP!!!
 
T

Tony Jollans

Assuming you're working in Word, you should be able to use
WordBasic.Sendkeys to do this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top