J
Javier garcia
If a execute Excel from VB and I send the text to the
clipboard and use Sendkeys to simulate CTRL + V this don't
work. =(
Clipboard.Clear
Clipboard.SetText "My text", vbCFText
TasId = Shell("C:\Program Files\Microsoft Office\Office10
\Excel.EXE", vbMaximizedFocus)
AppActivate TasId
SendKeys "^V", False 'CTRL + V
If I use the notepad it works fine.
What can be the problem?
clipboard and use Sendkeys to simulate CTRL + V this don't
work. =(
Clipboard.Clear
Clipboard.SetText "My text", vbCFText
TasId = Shell("C:\Program Files\Microsoft Office\Office10
\Excel.EXE", vbMaximizedFocus)
AppActivate TasId
SendKeys "^V", False 'CTRL + V
If I use the notepad it works fine.
What can be the problem?