sdn.statsoft.com Contact Us
  • Home
  • Library
  • Examples
  • Learn
  • Community
STATISTICA Developer Network

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!

Copyright 2012 by StatSoft Inc. Terms Of UsePrivacy Statement