Select the objects and then right click to choose “convert to block”