If an executor is appointed for any limited purpose specified in the will, the probate shall be limited to that purpose, and if he should appoint an attorney or agent to take administration on his behalf, the letters of administration, with the will annexed, shall be limited accordingly. ...