|Date: ||Tue, 29 Nov 2011 10:49:50 -0500|
|Reply-To: ||Subhadra Srigiriraju <subhadrasri@GMAIL.COM>|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Subhadra Srigiriraju <subhadrasri@GMAIL.COM>|
|Subject: ||Re: Is there any way I can insert a logo into the .xls file?|
|Content-Type: ||text/plain; charset=ISO-8859-1|
You can use ODS HTML and create a .xls file with a logo. I'm sure there are
better ways. May be you can explore excelxp tagsets or some other methods
that are more sophisticated.
Here is the code. On my computer, when i ran the code, a dialog box opened
saying that the file is corrupted or in a different format. I saved it in
.xls format any way and opened it. It preserved the logo.
title1 "<A><IMG align='Left' SRC='
title2 " ";
title3 " ";
ods html file='test.xls';
proc* *print* data=sashelp.class;
ods html close;
On Tue, Nov 29, 2011 at 1:30 AM, SAS Analyst <email@example.com>wrote:
> Is there any way I can insert a logo into the .xls file?
> I've attempted to use the preimage/postimage functions,
> but excel is unable to load my .xls file once it is created with a
> Please do needful