LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (July 2001, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 12 Jul 2001 13:28:46 +0100
Reply-To:   "Vyverman, Koen" <koen.vyverman@FID-INTL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Vyverman, Koen" <koen.vyverman@FID-INTL.COM>
Subject:   Re: Excel, DDE, and Office 2000
Comments:   To: Steve Rowe <steverowe@EMAIL.MSN.COM>
Content-Type:   text/plain; charset="iso-8859-1"

Steve proceeded:

> 1: > system('start excel'); *what other commands besides 'start x' > are there?;

Well, 'start' is a DOSv7 command. There's a really cool site documenting the syntax of these:

http://www3.sympatico.ca/rhwatson/dos7/

However, as I'm only a very moderate user of DOS commands -- that is: I try to avoid DOS as much as possible :-) -- perhaps someone else here might suggest a couple of other ones (apart from 'start') that have potential uses for us SAS geeks?

> 2: > filename xlscmd dde 'excel|system'; > ... > PUT '[??????????]' *want to insert a new worksheet; > I tried recording marcos and using the observed commands, but > after HOURS > finally found a SAS note: ... must send Excel 4.x macro > command. No one has > Excel 4.x anymore, so where do I find these commands documented?

Ah, this is heading into more familiar territory ... I'd recommend a read of Denslow and Li (SUGI26, 2001) who provide an in-depth dis- cussion on importing data from Excel spreadsheets via DDE, and, err... , Vyverman (SUGI26, 2001) for some general Excel spreadsheet- handling tricks from within base SAS:

http://www2.sas.com/proceedings/sugi26/p029-26.pdf http://www2.sas.com/proceedings/sugi26/p011-26.pdf

These papers contain numerous code samples, lots of further referen- ces, _and_ instructions on how to download the Excel4 macro command help file from the MS tech support site. Specifically, you'll find info on inserting and (re)naming sheets in the latter.

Kind Regards, Koen.

--------------------------------- Koen Vyverman Database Marketing Manager Fidelity Investments - Luxembourg ---------------------------------


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