<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />在“分佈”下拉菜單中,有一個“堆棧”項,它將所選項放在水平佈局中,這更有利於創建報表。
請問vba自動化中是否有類似的項目?
// one easy option is to simple run a little JSL...
// Open sample data file - run distribution platform with "stack" option
Save Text File(
"C:\temp\DeleteMe.jsl",
"\[
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Distribution(
Stack( 1 ),
Nominal Distribution(
Column( :age ),
Horizontal Layout( 1 ),
Vertical( 0 ),
Show Percents( 1 )
),
Continuous Distribution(
Column( :height ),
Horizontal Layout( 1 ),
Vertical( 0 ),
Show Percents( 1 )
)
);
]\"
);
// modify to point whereever your JMP executible resides
rc = Run Program(
Executable( "C:\Program Files\SAS\JMP" ),
Options({ " C:\temp\DeleteMe.jsl"}),
);
show(rc);
最好的祝福,
-Matt