BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi i am having a dataset in this while exporting the dataset in to excel my formats are not coming .how can i do this.
for example in Date and percentages it was missing.

date result
jun09 12.3%

How can i bring the same in Excel as the formats are in SAS it should be expoerted in to excel
1 REPLY 1
Ksharp
Super User
Have you format the variable in the dataset forever?
Such as:
[pre]
filename area1 DDE 'excel|c:\[Op.xls]Sheet1!r2c2:r50c20';
filename area2 DDE 'excel|c:\[Op.xls]Sheet1!r2c30:r50c40';
data temp;
set sashelp.class;
format weight height dollar12.2;
run;
data _null_;
set temp;
file area1;
put name sex height weight;
file area2;
put name sex height weight;
run;
[/pre]



Ksharp

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 783 views
  • 0 likes
  • 2 in conversation