BookmarkSubscribeRSS Feed
Nasser_DRMCP
Lapis Lazuli | Level 10
ODS LISTING CLOSE;
ODS EXCEL FILE="$GRPFPU/REQUETES_PROD/TEST_NASSER2.xlsx" STYLE=HTMLBlue;
ods excel options(flow='tables'
                  row_heights='0,14,0,0,0,0,0'
                  sheet_name='Using flow and row_height');
  
proc report data=sashelp.baseball(obs=10)
STYLE(column)=[cellwidth=1cm ];
  column name team league division natbat nhits nruns nrbi;
  define _all_/style={tagattr='wrap:no' verticalalign=T just=l} ;

run;

ods excel close; 

Nasser_DRMCP_0-1671099148950.png

hello

Hello

this is the code I executed and this is the result.

the name "Allanson, Andy" has no return carriage inside the formula bar (as attended)

But by cliking inside the cell A2, a RC appears; maybe because the "wrap text button" is activate.

by desactivate it, the RC disapears, this is what I want. how to deal with that "issu" ?

thanks a lot in advance;

regards,

Nasser

3 REPLIES 3
Nasser_DRMCP
Lapis Lazuli | Level 10

hello

many thanks for your help.

I am sorry but I do not find the solution. certainly,  i do not understand your suggestions.

this "basic" code below works well. I mean there is no RC

ODS LISTING CLOSE;
ODS EXCEL FILE="$GRPFPU/REQUETES_PROD/TEST_NASSER2.xlsx" STYLE=HTMLBlue;
ods excel options(sheet_name='sheet'
			 	Absolute_Column_Width="10" 	);
  
proc report data=sashelp.baseball(obs=10) ;

  column name team league division natbat nhits  ;
 
 run;

ods excel close; 

Nasser_DRMCP_0-1672068822813.png

and then, by adding the column "nruns", a RC appears inside row 6 column A. I wonder why.

Nasser_DRMCP_1-1672068930174.png

thanks for your time.

regards

Nasser_DRMCP
Lapis Lazuli | Level 10

hello,

I copy/past the excel result in ultraedit and then I notice that a RC appears (but also quotes)

manu thanks for your hep

Nasser_DRMCP_0-1672136086863.png

 

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1407 views
  • 0 likes
  • 2 in conversation