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 (April 1998, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 1 Apr 1998 17:14:48 -0500
Reply-To:   "Brucken, Nancy" <BRUCKEN@WOLF.RESEARCH.AA.WL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   "Brucken, Nancy" <BRUCKEN@WOLF.RESEARCH.AA.WL.COM>
Subject:   Invoking Excel macros from SAS
Content-Type:   text/plain

I have an Excel VBA macro which requires an argument when called [initialized as Sub ClearSelection (ClearType As String)]. How do I invoke it from SAS? The closest I've come so far has been

filename cmds dde 'excel|system'; data _null_; file cmds; put '[SELECT("R1C1")]'; PUT '[RUN("ClearSelection", "Contents")]'; run;

but that still generated an error message. I'm using SAS 6.12, Windows NT 4.0, and Excel 97. Is this even possible, or am I running into an Excel 4 macro language restriction? Any suggestions would be greatly appreciated!!! Thanks, Nancy

Nancy Brucken Parke-Davis, QIP (734) 622-5767 Internet address: brucken@aa.wl.com


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