partial table macro