Change Variable Order Based on Type

The goal of this example macro is to change the order of columns (variables) in a dataset based on the type; integer, text, double, etc..
Download the STATISTICA workbook which contains an example dataset and macro. The macro loops through every variable in the spreadsheet to find double precision decimal (0) and integer (2) variables. The macro moves any numerical variables to the beginning of the dataset.
See also Variable Sorting Using SVB - My Scheming Dog Strikes Again!