BookmarkSubscribeRSS Feed
BETO
Fluorite | Level 6

HI,

what I'm trying to do is export a table to excel with a couple of excel comment boxes in row1  ... I need to auto insert a comment box into the file..

thanks for your assistance

4 REPLIES 4
Reeza
Super User

I think it might be in NOTE command.

BETO
Fluorite | Level 6

HI Reeza,

i have this but for some reason it's not  finding the file

data _null_;

set class;

file ddedata;

put Name '09'x Sex '09'x Age '09'x Height '09'x Weight; 

run;

   data test1;

length name $10 sex $1;

input name & sex age height weight;

cards;

Alfred M 14 69.0 112.5

Mary Anne F 12 66.5 94.0

run;

/* WRITE BODY */

filename ddedata dde"excel|[C:\Users\U770846\Desktop\GC.xls]||sheet1!r3c1:r4c5";

data _null_;

set test1;

file ddedata;

put name sex age height weight;

put 'objWorksheet.Cells(1, 1).AddComment "Test comment."';

run;


BETO
Fluorite | Level 6

I found what I needed using tags

Reeza
Super User

Can you post it back to the thread, I'm curious.

Also useful if someone else has the same question.

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
  • 4 replies
  • 2433 views
  • 3 likes
  • 2 in conversation