User Guide
631
SPSS Scripting
Facility
Starter Scri
pts
When you cre
ate a new script, you can begin by choosing from a number of starter
scripts.
Figure 46-7
Use Starter
Script dialog box
Each starter script supplies code for one or more common procedures and is
commented with hints on how to customize the script to your particular needs.
Delete b
y label.
Delete rows or columns in a pivot table based on the contents of the
RowLabels or ColumnLabels. In order for this script to work, the Hide empty rows and
columns
option must be selected in the Table Properties dialog box.
Delete
navigator items.
Delete items from the Viewer based on a number of different
criteria.
Footnote. Reformat a pivot table footnote, change the text in a footnote, or add a
footno
te.
Reformat by labels. Reformat a pivot table based upon the row, column, or layer labels.
Reformat by value. Reformat a pivot table based upon the value of data cells or a
combin
ation of data cells and labels.
Reformat misc pivot. Reformat or change the text in a pivot table title, corner text, or
caption.