LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 1998, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 3 Dec 1998 09:59:54 -0500
Reply-To:     "Ward, David" <DWard@DAS-INTERNATIONAL.NET>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         "Ward, David" <DWard@DAS-INTERNATIONAL.NET>
Subject:      Re: TEST IF WORD OR EXCEL IS OPEN?
Comments: To: "abdu.elnagheeb@nationsbank.com" <abdu.elnagheeb@NATIONSBANK.COM>
Content-Type: text/plain

Abdu, if the application can receive DDE commands (i.e. excel|system or winword|system), try creating a filename like "filename word dde 'winword|system';" and submitting the following code: data _null_; file word; put '[Maximize]'; run;

If word is open the data step should run correctly (&syserr=0). If not, Word is either not running or is unable to receive commands.

D. Ward

> ---------- > From: > abdu.elnagheeb@nationsbank.com[SMTP:abdu.elnagheeb@NATIONSBANK.COM] > Sent: Wednesday, December 02, 1998 2:36 PM > Subject: TEST IF WORD OR EXCEL IS OPEN? > > Hello all, > > How can I test if Word/Excel (or any other application) is open from > within SAS? > Thanks for any help. > > abdu >


Back to: Top of message | Previous page | Main SAS-L page