Capturing scripts for data tables 1 Open a data table and make all kinds of changes—add rows and columns, change values, rearrange columns, sort the rows, make a formula column, make a row state column, and so on. 2 When you’re done, open a script window and type this in: current data table()<