Whenever the sheriff is or shall be required by law to act in person under or by virtue of any writ or process whatsoever issued by the courts of this Commonwealth, he may act either in person or by a regularly appointed deputy sheriff.
16 P.S. § 4202