edit select macro