Hello and thanks in advance for any hint.
On Windows 2000 Pro (SP4), Word 2000, VB 6.0 Runtime SP5 installed, I cannot
obtain any input from the SendKeys statement in my Word's macros. Somewhat
goes to the Word and e.g. smothers the message from the StatusBar statement,
but no chars appear in the edited text and no control signs function.
And in the Visual Basic 6.0 Professional (SP6), the same happens on my PC -
no output from my VB code. I vaguely remember, how well it had worked on
Windows 98. No chance on Windows 2000?
Thanks, Jan
Jezebel - 22 Feb 2007 21:17 GMT
SendKeys is always a challenge because you have so little control over where
the keystrokes go. But if you're working only with Word and VB, it's
unnecessary anyway because you can call, directly, the methods of the
objects involved. Sendkeys is always the absolute last resort, to be avoided
at almost any cost.
> Hello and thanks in advance for any hint.
>
[quoted text clipped - 11 lines]
>
> Thanks, Jan