How Are Case Selection Conditions and Case Weights Handled in Recorded Macros?
It depends on whether you are recording a Master Macro or an Analysis Macro. The general rule is that case selection conditions and case weights specified via the Select Cases or Case Weights buttons in a specific analysis are recorded into the respective Analysis Macro as well as the Master Macro (if one is being recorded at the time); when case selection conditions or case weights are changed from the Tools menu, then those changes are only recorded in Master Macros.