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 (May 2006, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 10 May 2006 11:30:41 -0400
Reply-To:   Dianne Rhodes <RHODESD1@WESTAT.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Dianne Rhodes <RHODESD1@WESTAT.COM>
Subject:   Re: ODS Tagsets ExcelXP
Comments:   To: "Gerstle, John (CDC/NCHSTP/DHAP) (CTR)" <yzg9@CDC.GOV>
Content-Type:   text/plain; charset="us-ascii"

> From: owner-sas-l@listserv.uga.edu > [mailto:owner-sas-l@listserv.uga.edu] On Behalf Of Gerstle, > John (CDC/NCHSTP/DHAP) (CTR) > > > Ah, I see a new version, May 10, 2006 is the date stamp on > the file to download. > > Interesting issue though... > > I just ran this code: > ODS tagsets.excelxp > file="Y:\SAS Programs\Tagsets\ExcelXPHelpMay2006.xml" > options(doc="help") ; > ods tagsets.excelxp close; > > And the resulting file, "ExcelXPHelpMay2006.xml", cannot be > read by Excel (error window pops up and says: "Unable to read file"). > > When I am able to get it open (via MSWord, showing the XML > tags) there isn't any text besides the header information > (unless the font color is white), just lots of border tags > and paragraph symbols (placed there by > Word) - no text. > > There is text in the LOG. > >

What were you expecting to be in the file? The DOC option writes to the Log. You need a proc print or something that generates output to ODS. I've been doing this with proc tabulate, and I right click on the file from Windows and select Open with Excel. Very nice formatted output.

Dianne Rhodes @ westat


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