@mmarchandTSI you might also want to add check that some rows are selected (<< Color Cells will otherwise color all the cells).
Names Default To Here(1);
dt = New Table("Untitled",
Add Rows(3),
Compress File When Saved(1),
New Column("Column 1", Numeric, "Continuous", Format("Best", 12), Set Values([., ., 1])),
New Column("Column 2", Numeric, "Continuous", Format("Best", 12), Set Values([., ., .])),
New Column("Column 3", Numeric, "Continuous", Format("Best", 12), Set Values([2, 3, 4]))
);
For Each({col}, dt << Get Column Names("String"),
dt << Select Where(Is Missing(As Column(col)));
Column(col) << Color Cells("gray");
dt << Clear Select;
);
/*
For Each({col}, dt << Get Column Names("String"),
dt << Select Where(Is Missing(As Column(col)));
If(N Items(dt << Get Selected Rows) > 0,
Column(col) << Color Cells("gray");
);
dt << Clear Select;
);
*/
-Jarmo