
318 S.E.2d 887 (1984)
Rebecca Dimmette DesMARAIS, Executrix and Trustee of the Estate of Nannie H. Dimmette and Executrix of the Estate of L.E. Dimmette and Dulcie Dimmette Barlow, Executrix and Trustee of the Estate of Nannie H. Dimmette and Executrix of the Estate of L.E. Dimmette, Plaintiffs,
v.
Joel H. DIMMETTE, individually and as Executor and Trustee of the Estate of Nannie H. Dimmette and as Executor of the Estate of L.E. Dimmette, Green Mountain Development Corporation, Fidelity Insurance Agency, Inc., and Dimmette Realty Corporation, Defendants,
v.
Nane Dimmette SPAINHOUR and Laudie Dimmette Porter, Third-Party Defendants.
No. 8326SC666.
Court of Appeals of North Carolina.
August 21, 1984.
*888 Helms, Mulliss & Johnston by Norvin K. Dickerson, III, Charlotte, for plaintiffs-appellees.
West, Bingham, Delk & Swanson by Ted G. West, David A. Swanson, and Joseph C. Delk, III, Lenoir, for defendants-appellants.
WEBB, Judge.
The order denying the motion for change of venue does not dispose of the case. It is an interlocutory order and the first question we face is whether the appeal *889 should be dismissed as premature. See Industries, Inc. v. Insurance Co., 296 N.C. 486, 251 S.E.2d 443 (1979). Under G.S. 1-277, an interlocutory order which will work injury if not corrected before final judgment is appealable. See Highway Commission v. Nuckles, 271 N.C. 1, 155 S.E.2d 772 (1967). We hold that an erroneous order denying a party the right to have the case heard in the proper court would work an injury to the aggrieved party which could not be corrected if no appeal was allowed before the final judgment. The order in this case denying a change in venue is appealable. Coats v. Hospital, 264 N.C. 332, 141 S.E.2d 490 (1965) and Klass v. Hayes, 29 N.C.App. 658, 225 S.E.2d 612 (1976).
G.S. 1-78 provides:
"All actions against executors and administrators in their official capacity, except where otherwise provided by statute, and all actions upon official bonds must be instituted in the county where the bonds were given, if the principal or any surety on the bond is in the county; if not, then in the plaintiff's county."
Under this section of the statute, if an action is against an executor in his official capacity, it must be instituted in the county in which he qualified. See Stanley v. Miller, 42 N.C.App. 232, 256 S.E.2d 308 (1979). A part of the relief sought in this case was an accounting by the defendant as executor in two estates in which he had qualified in Caldwell County. The plaintiffs also sought to have the defendant removed as executor of both estates. The action is against the defendant in his official capacity in both estates and it was error not to allow his motion that it be transferred to Caldwell County.
The plaintiffs argue that there has been no abuse of discretion and the court was not required under G.S. 1-83 to remove the matter to Caldwell County. The court in this case had no discretion. G.S. 1-78 says the case "must be instituted" in Caldwell County and the court was required to remove the case to that county. The plaintiffs rely on Pushman v. Dameron, 208 N.C. 336, 180 S.E. 578 (1935) which holds that an action against an executor may be moved to another county after it has been filed in the county in which he was qualified. We do not believe Dameron is precedent for this case. In this case the action was not filed in the county in which the statute requires it to be filed.
The plaintiffs argue that the defendant waived his right to a change of venue by consenting to a preliminary injunction. G.S. 1A-1, Rule 12(b), (g) and (h) provide that a defense of improper venue is waived if it is not made before or as part of a responsive pleading. In this case, the motion for a change of venue was made before the answer was filed. The defendant did not waive this defense.
Reversed and remanded.
HILL and WHICHARD, JJ., concur.
