
July 2nd, 2007, 10:09 AM
|
|
Contributing User
|
|
Join Date: Jun 2004
Posts: 190
  
Time spent in forums: 2 Days 7 h 16 m 13 sec
Reputation Power: 6
|
|
|
SendKeys for Control-A
Hi,
I need to open copy the contents from the word document "test" and paste it another word document.I am using the following code snippet in my VB code for copying the contents.
VB Code:
Original
- VB Code |
|
|
|
AppActivate "test - Microsoft Word", 3000 SendKeys "^A", 3000 SendKeys "^C", 3000
The document content is not getting copied. If try sending "F5" or any "Alt" keys they work. Can any body tel me why this does not work?
|