From: adamsgd@aol.com (AdamsGD) Newsgroups: microsoft.public.excel.programming Subject: Re: XL97/2K - Launching Hyperterminal in VBA Lines: 26 NNTP-Posting-Host: ladder05.news.aol.com X-Admin: news@aol.com Date: 29 Nov 1999 13:31:05 GMT References: Organization: AOL http://www.aol.com Message-ID: <19991129083105.05253.00000034@ng-fp1.aol.com> Path: cppssbbsa01.microsoft.com!news-out.cwix.com!newsfeed.cwix.com!newsfeed.direct.ca!portc01.blue.aol.com!audrey04.news.aol.com!not-for-mail Xref: cppssbbsa01.microsoft.com microsoft.public.excel.programming:98084 > >Hi Gary, > >Hypertrm.exe happily accepts a command line argument which allows you to >specify which .ht file you want to use. for instance, I created a connection >called MyCon.ht , which resides in the same directory as Hypertrm.exe . >I can now use the following code to make the connection. > >Sub DialMyCon() > dim Pathname As String > Pathname = "C:\Program Files\Accessories\HyperTerminal\" > Shell Pathname & "Hypertrm.exe " & Pathname & "MyCon.ht", vbNormalFocus > application.Wait Now + Timevalue("00:00:05") > application.SendKeys "{Enter}" >end Sub > > >HTH, >vic@ultratrace.com.au Hi, Vic This code should work, but the Shell function can't seem to be able to find the .ht file. Have you had a similar experience with this issue? Shell has no problem with the .exe, however. Very odd. Thanks again, Gary Adams