Dear all,
I have a forecast report which works fine in ODS HTML and ODS PDF. I'm now trying to display an image in the xls output.
For the Excel Output I use
ods tagsets.msoffice2k STYLE=sasdocprinter file=_webout;
For the report I use the proc report procedure.
The forecast report has a column at the right with an image (arrow up or down depending on the data on the left in the same row). This works in HTML like this:
compute kz_tzqu;
if kz_jahr_alt - kz_kw_alt > 0 then
call define (_col_,"style", "Style=&v_url_red.");
if kz_jahr_alt - kz_kw_alt = 0 then
call define (_col_,"style", "Style=&v_url_blue.");
if kz_jahr_alt - kz_kw_alt < 0 then
call define (_col_,"style", "Style=&v_url_green.");
end;
endcomp;
Where:
%let v_url_red = [preimage='http://myserver/images/arrow_red.gif'];
%let v_url_blue = [preimage='http://myserver/images/arrow_blue.gif'];
%let v_url_green = [preimage='http://myserver/images/arrow_green.gif'];
Could you tell me how I can do this in the ods tagsets.msoffice2k?
Best regards,
Eva
... View more