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 (April 2011, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 18 Apr 2011 13:23:49 -0400
Reply-To:     Quentin McMullen <qmcmullen.sas@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Quentin McMullen <qmcmullen.sas@GMAIL.COM>
Subject:      Re: tagsets.excelxp multiple files when HTML is on
Comments: To: Ben Herman <baherman@GMAIL.COM>

On Mon, 18 Apr 2011 11:28:39 -0400, Ben Herman <baherman@GMAIL.COM> wrote:

>No Joy here! You ever have one of those days where nothing makes sense? > >I appologize that my sample code was muddled (I accidentally dumped the >options when I shortened it up for posting). I had originally included >the sheetname. So here's the kicker. I decided to do a little more >trouble shooting. Opened up SAS ran my code -- got the error. Opened up a >second session, copied the code in sections -- No error. Opened up a >third session, copied all the code from the first session into the third, >ran with no error. Apparently I have poltergeists.

Hey Ben,

I had a similar poltergeist a couple weeks ago. I would keep trying to replicate the problem, but it seemed to happen randomly. After I slept on the problem I woke up the next day and was able to replicate it consistently. And it turned out in my case (and maybe yours?) I had accidentally forgotten an ods tagsets.ExcelXP close statement, so I had multiple destinations open. And this caused tagsets.ExcelXP to write bad xml. (Sounds suspiciously like your first post, where you had an html destination open...) I've also gotten errors when Excel tries to open a file with the title/footnote is apparenlty too long (for Excel to read, not too long for SAS to write). But once you get through the hour or 2 (or 8) of thinking "well, this statement can't be the cause, so I'll delete it from my code", and suddenly replicate the problem, it becomes "obvious".

So I would close SAS, go for a walk by that pretty waterfront outside your office, and come back and try again with a new session. Then repeat.

--Q.


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