製表至單字表格你好! 我有幾個用 tabulate 建立的表,它們相當大。 有沒有辦法將表格作為表格傳輸到Word,並且還可以對其進行編輯? 因為當我將它們儲存為Word檔案時,它們需要進行調整。 先致謝!
回覆:製表到單字表極好的!!!!謝謝 !回覆:製表到單字表1. 像往常一樣建立製表輸出。
2. 點選輸出中的「完成」按鈕以擺脫控制台
3. 點選紅色三角形並選擇,將腳本儲存到腳本視窗
儲存腳本==>到腳本視窗


4. 將以下行新增至腳本視窗的頂部
Names Default To Here( 1 );
nw = New Window( "Example",

5. 將以下行加入到腳本底部
);
nw << save msword( "$TEMP/tab.doc" );
Open( "$TEMP/tab.doc" );

6.更改第11行和第12行的位置
“$TEMP/tab.doc”
到您想要儲存 MSWord 文件的位置
7. 點擊腳本視窗頂部帶有綠色三角形的圖示來執行腳本

這會將您的製表輸出儲存到 Word 文件。如果您想同時儲存多個表格,請看我之前的範例,只需依序新增不同的腳本,並用逗號分隔,如範例所示。
回覆:製表到單字表抱歉,我可能需要更多幫助。 我無法理解這些命令。 你能用「點擊」而不是命令解釋得更簡單嗎?回覆:製表到單字表希望腳本的以下註釋能幫助您理解我所做的事情
// A very simple example
Names Default To Here( 1 );
// Open the data table
dt = open("$SAMPLE_DATA/big class.jmp");
// Create a new display window
nw = New Window( "Example",
// Create the required Tabulate Table using JSL
// This JSL is taken directly from the interactive
// Tabulate Platform by clicking on the red triangle
// for the Tabulate, and selecting "Save Script"
tt = Tabulate(
Show Control Panel( 0 ),
Add Table(
Column Table( Grouping Columns( :sex ) ),
Row Table( Grouping Columns( :age ) )
)
),
// This is the same tablulate as above, but it can be
// any additional tabulate JSL you want
tt = Tabulate(
Show Control Panel( 0 ),
Add Table(
Column Table( Grouping Columns( :sex ) ),
Row Table( Grouping Columns( :age ) )
)
)
// You can have as many tabulate entries as desired
// added to this script
);
// Save the output to MSWord
nw << save msword( "$TEMP/tab.doc" );
// Open up the just saved .doc file
Open( "$TEMP/tab.doc" );回覆:製表到單字表你好,謝謝你的回覆。 你能再解釋一下我該怎麼做嗎? 我無法理解您使用的命令:(
回覆:製表到單字表如果將所有製表輸出放入新視窗中,則可以將該視窗另存為 Word 輸出,並且每個製表表格最終都會成為可以在 Word 中操作的 Word 表格。
// A very simple example
Names Default To Here( 1 );<BR />open("$SAMPLE_DATA/big class.jmp");
nw = New Window( "Example",
tt = Tabulate(
Show Control Panel( 0 ),
Add Table(
Column Table( Grouping Columns( :sex ) ),
Row Table( Grouping Columns( :age ) )
)
),
tt = Tabulate(
Show Control Panel( 0 ),
Add Table(
Column Table( Grouping Columns( :sex ) ),
Row Table( Grouping Columns( :age ) )
)
)
);
nw << save msword( "$TEMP/tab.doc" );
Open( "$TEMP/tab.doc" );