>Thanks again, very simple and nice way to achieve the desired functionality. The question is, though, is it 100% reliable?
Great !
As it depends on WSH, the user's machine should have it available. The problem is that some firewalls block some commands sometimes.
The most secure way is to use the SendKeys API, using the same sequence.
Christian Ehlsheidt has created an interesting class that manages this.
Thread#
887664 Message#
887806 HTH
Cesar