Date: Thu, 20 Jun 1996 14:48:16 -0400
Reply-To: John Iwaniszek <johni@BRINC.USA.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: John Iwaniszek <johni@BRINC.USA.COM>
Subject: <None>
I am trying to send a set of commands to MSWord and most of them work,
however there a some commands which do not work. These commands set up
formatting aournd a previously created table (see below). When the
commands are uncommented they fail to execute and give me a "not ready"
error. Does anyone have insight into what might be wrong?
The code labeled 'good code' works, the code labeled 'bad code' does
not.
I spoke to the SAS tech support folks and they blamed the problem on
MSWord.
/* good code*/
put '[TableInsertTable.ConvertFrom = "", ' @;
put ".NumColumns = &_numcols, " @;
put ".NumRows = &_numrows, " @;
put '.InitialColWidth = Auto, ' @;
put '.Format = 0, ' @;
put '.Apply = 167]' ;
put '[TableSelectTable]' ;
/* end of good code*/
/* bad code*/
put '[FormatBordersAndShading .ApplyTo = 3, ' @;
put '.Shadow = 0, ' @;
put '.TopBorder = 2, ' @;
put '.LeftBorder = 2, ' @;
put '.BottomBorder = 2, ' @;
put '.RightBorder = 2, ' @;
put '.HorizBorder = 1, ' @;
put '.VertBorder = 1, ' @;
put '.TopColor = 0, ' @;
put '.LeftColor = 0, ' @;
put '.BottomColor = 0, ' @;
put '.RightColor = 0, ' @;
put '.HorizColor = 0, ' @;
put '.VertColor = 0, ' @;
put '.FromText = "0 pt", ' @;
put '.Shading = 0, ' @;
put '.Foreground = 0, ' @;
put '.Background = 0, ' @;
put '.Tab = 0, .FineShading = -1]' ;
/*end of bad code*/
/* good code*/
put '[NextCell]';
/* end of good code */
John Iwaniszek
Programmer
BRI International
6330 Quadrangle Drive, Suite 240
Chapel Hill, NC 27514
919 493 2813 ext. 3221
========================================================================
|