This case was decided by the circuit court.on its merits; but before we can consider its merits, we must be satisfied, that the bill on its face sets out .a case, which a court of equity can entertain. If it does not, all that the court can do is to dismiss the bill, unless on the facts proven in the cause it appeal’s, that, though the bill may be fatally defective, yet it might be so amended, as that a case might be set out in it, such as would give a court of equity jurisdiction. It is true, that the bill was not demurred to, and the question, whether a court of equity had jurisdiction, does not seem to have been raised or acted upon by the circuit court. All parties *503therein appear to have assumed, that a court of equity had jurisdiction of the case. Nor have the counsel in this Court in their argument raised any question as to the jurisdiction ,of a court of equity in this case but have discussed it only on its merits. But it is clearly law, that if a court of equity has no jurisdiction, and this is apparent on the face of the bill, the Court must dismiss the bill at the hearing (unless from the record it may appear probable, that a case, in which a court of equity would have jurisdiction could be stated by a legitimate amendment of the bill, when it should be allowed). If the Court fails to dismiss the bill, the appellate court must dismiss it; for no other decree can be rendered, when it is apparent that the court had no jurisdiction of the case, and no legitimate amendment of the bill could give it jurisdiction. (Stuart’s heirs v. Coalter, Judge Carr’s opinion, 4 Rand. 78; Coleman’s heirs v. Anderson, 29 Grat. 430, Judge Anderson’s opinion, p. 430; Thompson v. Railroad Companies, Justice Daniel’s opinion, 6 Wall. p. 137.)
It is settled, that a court of equity generally can grant no relief, when there is a plain, adequate and complete remedy at law. (Morrison v. Speer, 10 Grat. 228; Franks v. Cravens et al, 6 W. Va. Syl. 2, p. 186.) But courts of equity have sometimes entertained jurisdiction, when the legal remedy was doubtful or partial. (Wampler v. Wampler, 30 Grat. 454, Morrison’s Fx’or v. Lewis, Ex’or, Judge Christian’s opinion, p. 678.) In the application of these general principles it maybe regarded as settled, that an injunction may be granted before judgment, when the cause depends upon questions, which are solely cognizable in equity and cannot be appropriately considered or determined at law. (Frith v. Roe, 23 Ga. 139; Pollock, administrator, &c. v. Gilbert, executor, &c. 16 Ga. 399, point 8 of the syllabus.) And even when there is involved in the common law suit nothing but a legal demand, if numerous suits were brought, by the same person involving the same question, an injunction might be granted to the prosecution of all but one of them, until it could be heard and determined and the principles involved in them all then settled. (Third Avenue Railroad Company v. Mayor, &c., 54 N. Y. 159.) Bo an injunction will be granted to prevent the enforcement of a legal right in a suit of law, if the as*504sumption of this equitable jurisdiction is necessary to avoid a multiplicity of suits. (Oelrich v. Spair, 18 Wall. 211, 218.)
There are exceptions to the general rule, that equity can grant no relief, when there is a plain, adequate and complete remedy at law. In carrying out these general principles, which we have laid down, a court of equity ought not except for some special reasons and under peculiar circumstances to suspend the course of legal proceedings by injunction for the purpose of enabling a defendant in a suit at law to setoff a balance alleged to be due him, if a settlement should be had with the plaintiff of an account in matters, which can only be settled in a court of equity, as a partnership-settlement or a settlement- of the accounts of a personal representative of an estate; for though this defence is equitable, yet as the offset claimed constitutes no ascertained or liquidated demand, it is not within the equity, that the doctrine of setoff is intended to promote. (Preston v. Stratton et als, executors of Stratton, 1 Ans. 50; Robinson v. Wheeler’e administrator, 51 N. H. 338; Cummings v. Morris, 25 N. Y. 625; Ranson v. Samuel, 1 Craig and Philips 171; Duncan v. Lyon, 3 John. Chy. 351; Mead v. Merrett, 2 Paige, 403; and Jewitt v. Rhul, 10 C. E. Green 24.).
Tt i’emains now to apply these principles to the case before us. And first with reference to all the claims, -which the defendant set up in the action at law as payments or sets-off, it is obvious, that they are all legal demands and could as well have- been acted upon and decided in that suit by a jury under the instructions of the court, and even far better than they can by a court of equity. The first of these is the claim of the defendant to a credit by reason of the paper, which ho claims is a contract between John G. Miller and C. S. Miller, the testator of the plaintiff, dated July 6,1872, the same date as that of the three notes sued upon in the common law suit. This paper has been set out in the statement of the case as paper “A.” And the defendant claims that by it the testator C S. Miller agreed in his lifetime and as a part of the contract, under which the defendant executed to him the three notes, that a certain amount should be deducted from them or allowed as a credit on them after the death of C. S. Miller, which amount in the common law suit is claimed as *505a credit on them or as a set-off to them as of date June 11, 1874, tbe date of the death of C. S. Miller. And precisely the same claim is set up in the present chancery suit. Is there any reason why the judge in the trial of the common law suit can not just as well construe this paper, as the chancellor can in the suit in equity ? Or is there any reason why the jury can not as well determine in the common law suit, whether it is a forgery or was obtained by gross fraud from C. S. Miller, when ho was too drunk to know what he had signed, as the chancellor can decide these questions in a court of equity ? The two last questions it seems to me are so appropriately tried by a jury, that had they arisen in a chancery suit' they would have been referred to a jury on an issue out of chancery for their decision rather than referred to a commissioner, or by the chancellor, if there was great conflict evidence; the next payment or offset claimed is a mercantile account by the defendant against C. 8. Miller for $146.42. There can be no question but that this claim is á purely legal demand; and there can be no reason assigned for transfer-ing the decision of it to a court of equity. The same may be said of the next item claimed by the defendant as $303.47, goods furnished the plaintiff, which he agreed should be a credit oh the notes sued upon. The next item $750.00 for board of the testator, C. S. Miller, is of the same character. There is no assignable reason, why the amount and justice of these claims may riot be as well and even better determined by a jury under the instructions of the court as by a chancellor in a court of equity. They were all purely legal demands, and the common law suit furnished the defendant in it' a plain, adequate and complete remedy'; and thererivas no conceivable reason why a court of equity by an injunction to prevent the prosecution of this common law suit should have withdrawn the decisions of these legal questions from the common law courts, in which a suit was pending, in which they must have been promptly decided without inconvenience.
The only other claim set up by the defendant is, that he had made certain specified payments on the notes sued upon, which payments were all made to the plaintiff in the common law court directly, except one which at his request was made *506Mrs. Hannah Keller, legatee under the will of C. 8. Miller the testator. These same claims of payments are set up in the chancery suit and of course could have been appropriately decided in the common law suit. The only other claim set up in this chancery suit other than these purely legal claims, which could have been much more appropriately settled in the common law suit, was, that the defendant and the plaintiff in their individual capacity were the residuary legatees of the testator, and the defendant had a right to claim as an equitable offset against the demand of the plaintiff as execu-utor in the common law suit the amount, which would ultimately corne to him from the estate of the testator as one of the residuary legatees, which could be only ascertained in a suit in equity after the settlement of the executorial accounts of the plaintiff. We have seen that a court of equity will not except under peculiar circumstances suspend the course of legal proceedings for the purpose of enabling a defendant in an action at law to set off a balance, which might be due him in a settlement with the plaintiff, which can only be had in a court of equity, as such balance does not constitute an ascertained or liquidated demand and is therefore not within the equity, which the doctrine of sets-oft is intended to promote.
There are no peculiar circumstances appearing on the face of this bill or in the evidence in the chancery suit, which tend even to justify a court of equity to suspend the course of legal proceedings in the common law suit. On the contrary there is much in the bill in this cause, which, it seems to me, renders it peculiarly improper for the court of equity to interfere to prevent the prosecution of this common law suit.
In the first place it appears from the allegations in the bill, that more than five sixths of the estate of the testator in the hands of his executor consisted, of the three notes, which he was endeavoring to collect in this common law suit; that the specific legatees had been paid off; that the testator at the time of his death owed no debts. From these statements it is obvious, that the settlement of the executorial accounts of the executor of C. 8. Miller involved very little trouble, and that such settlement could promptly be made by the executor, as soon as this common law suit, which he brought against John S. Miller, the plaintiff in the chancery suit, should bo *507decided, and till the controversy between the executor oi 0. S. Miller and George F. Miller was decided, there could be no settlement of the estate of C. S. Miller and no ascertainment of the amount coming to George F. Miller, the plaintiff, as one of the residuary legatees of C. S. Miller. The bill says that “ it is unconscionable, inequitable and unjust for said executor to recover a judgment against him and to harass him with a writ of fieri facias and compel him to pay such judgment, until he has given the plaintiff credit on his said notes for the amount he is entitled to as residuary legatee.” These fears, it seems to me, were very idle, if they were really entertained by the plaintiff; for from his own statements in the bill it is obvious, that, as soon as the executor should obtain a judgment against him, he would know with great accuracy how much would be coming to him as residuary legatee, and if he did right, which there is no reason to believe he would not, he would at once have settled with him and credited the execution issued on the judgment with the amouut coming to him, the defendant in the execution, as a residuary legatee of C. S. Miller. If ho should refuse to do so, it would then be time for him to file his bill of injunction claiming that this equitable offset should be credited on the execution. But this remote and jiossible injustice could certainly be no just reason for transferring to a court of equity the trial of claims, a suit to settle which was then pending in a common law court, which could afford a plain, adequate and complete remedy for all his demands and claims.
It might be suggested that the common law court could not determine the amount of the credit to be given George F. Miller, if any, by reason of this paper “A” set out in the statement of- the case. If this was a testamentary paper and should be so held by the judge presiding at the trial of the common law suit, of course G. F. Miller would be entitled to no credit by reason of it. If it should be held to be a contract, then the amount of the credit he is entitled to by reason of the contract can in no manner depend on the settlement of the estate of C. S. Miller; for the amount, which' is to be credited on the notes of John F. Miller, if this be a contract, must necessarily be a sum certain or capable of be*508ing made certain, and could not possibly be dependent on the will of the other contracting party. For a contract to give a credit for an amount, which shall depend upon what I may choose hereafter to insert in my will, is clearly no contract. As a contract it would be void for uncertainty in its most material provision the amount to be credited. This seems to have been clearly the understanding of John G. Miller; for both in the common law suit and in the chancery suit he distinctly claims by reason of this contract, as he calls it, marked “A,” that he is entitled to a credit of a definite sum $2,500.00; and it is obvious he is entitled to a credit of that amount, as claimed by him in the common law suit and in the chancery suit, or he is entitled to nothing. It is true, he claims, that by a construction of this paper he might be entitled to a much larger amount, that is to $2,500.00 more than G. F. Miller and Christina R. Bussey, and as Christina R. Bussey alone received $5,000.00 he was by this paper “A” entitled to a credit of at least $7,500.00. But he does not insist in his bill on such a credit, but only on a credit of $2,500.00; and this he is driven to, because if he were really entitled by the true construction of this paper to at least $7,500.00 made up by adding to the $2,500.00 the $5,000.00 bequeathed by the will of C. S. Miller to his sister Christina K. Bussey, then this paper would be a testamentary paper, and being revoked by the subsequent will of C. S. Miller, John G. Miller would be entitled to no credit on his three notes by reason of it.
As therefore he was entitled by reason of this paper to a credit of either $2,500.00 on his notes or to no credit at all according to the construction, which may be given it by the court, this offset or credit claimed by the defendant was strictly a legal credit, if it was a credit at all. My conclusion therefore is, that a court of equity ought not to have entertained jurisdiction in this cause and ought to have awarded no injunction.
It remains then only to determine what decree this Court should enter in this cause. It is obvious, that the decrees of the circuit court of Greenbrier should be reversed, as they have decided on the merits of the case; but that the appellants must pay the appellee their costs in this Court ex*509pended as the parties substantially prevailing. And this cause must be remanded to the circuit .court of Greenbrier to be further proceeded with; for great injustice might be done, as we will presently see, if the bill was now dismissed. The instructions to be given to the circuit court in its further proceedings in this cause remain to be considered.
The record before us is, I suppose, the whole record that was before the circuit court of Greenbrier; but, I presume, it is not the entire record in this cause. I assume, that an injunction was awarded, because the procuring of it was the main object of the bill, and it prays, “that George F. Miller, executor of O. S. Miller may be enjoined from the further prosecution of said action at law and the answer of George F. Miller executor of 0. S. Miller prays, “that the injunction awarded in this cause be dissolved and the plaintiff’s bill dismissed with costs.” I infer therefore that an injunction was awarded as prayed for in the bill. But from the copy of the record from Greenbrier circuit court before us it appears, that the clerk of the circuit court of Cabell county, where this suit was, when this cause ivas transferred to the circuit court of Greenbrier, failed to scud with the papers the order of injunction awarded by the circuit court of Cabell county or by some judge in vacation. I presume, that the injunction prayed for in the bill was not probably granted without any condition. "Where an injunction is granted to proceedings in a common law suit at the instance of the defendant, it generally, as the court or judge has a right to do in the exercise of a proper discretion, puts the plaintiff before giving him the benefit of the injunction upon terms of confessing judgment at law. I presume, that this was probably not done in this case, as it would not have been proper for the court to do so in such a case as this, if it awarded an injunction. But as we cannot know certainly, whether it did so or not, as the injunction-order is not before us, and as we could not get it before us by certiorari, as it in all probability never was before the circuit court of Greenbrier, to the clerk of which court our certiorari would be addressed, it becomes necessary for us to provide in our decree for such a contingency.
As this Court has concluded, that the injunction should be dissolved, if one was awarded, and the bill dismissed without *510giving any consideration to the merits oí the defendant’s claims, and if ho has been put upon terms of confessing a judgment at law, when the injunction was awarded, and has done so, there will be against him a very large judgment without any pretence of trial in either the common law court or in the chancery court; for the trial he has had in the chancery court will be set aside and declared null and void by our decree.
In such a case as this it was decided in the Great Falls Company v. Henry’s Administrator, 25 Grat. 575: 1. “When a defendant in an action at law files a bill to make his defense in equity and asks a stay of proceedings in a law court, it is a matter of discretion in the chancellor, in granting the injunction, whether he will or will not require a confession of judgment in the action at law. 2. In such case if a confession of judgment in the action at law is required the order should require the judgment to be dealt with as the court shall direct. 3. Though the order requiring the eoufession of judgment is absolute, yet if the court dissolves the injunction and dismisses the bill on the ground that the plaintiff’s defense to the action is legal, and the court of equity has no jurisdiction the decree should direct that the judgment at law should be set aside, and the case reinstated as it was when the injunction was granted, and if this is not done the chancery court will on motion afterwards made, direct the judgment to be set aside.” The cases cited to sustain these conclusions are Warwick v. Norvell, §e., 1 Nob. N. p. 308 and Hooper v. Cooke, Jurist (1856) part 1, j>. 527 (No. 75 Yol. 2 N. S.) See also Knott v. Seamands, supra, point 3 of the syllabus. In the Virginia case (25 Grat. p. 575) the court of chancery had by a fiual decree dismissed the plaintiff’s bill and dissolved the injunction, which had been awarded by a final decree. In the appellate court “it was objected, that the judgment confessed at law under the order of the equity court is a matter of law and fact, a final judgment of another tribunal, and the case presented in the bill being one of which the court had no jurisdiction, it could not entertain it even for the purpose of correcting its own wrong in requiring an absolute confession of judgment by the plaintiff and of putting the parties in statu quo;” 25 Grat. p. 282. The court in *511answer to this say p. 282: “We should be very unwilling to be torced to such a conclusion even by direct and pertinent authority to sustain it and with none to oppose it; but fortunately for the ends of justice the very reverse has been decided by the English court of chancery.” See Hooper v. Cooke, Jurist (1856) part 1, p. 527 (No. 75 Vol. 2 N. S.) That case is there reviewed, and on the strength of it the conclusions wo have stated were reached. See pages 582-583.
The position of our case does not make it quite as difficult to reach the ends of justice to the defendant; in that case the circuit court had entered a final decree in the chancery cause, which it has not done in this cause; and we can remand the cause to the circuit court of Greenbrier county and direct it not to dismiss the bill at the plaintiff’s costs or to dissolve the injunction which has been awarded, if in point of of fact the injunction has been awarded, until .George E. Miller, Sr., executor of the last will and testament of Christian S. Miller, shall have withdrawn or caused to be set aside any judgments he may have obtained by confession or otherwise in the common law suit of George E. Miller, Sr., executor of the last will and testament of-Christian S. Miller vs. John G. Miller, pending, or lately pending in the circuit court of Cabell county, referred to in the bill in this cause, and until he shall have reinstated on the docket said common law case, to be tried at law on the issues now in that case or in such other proper issues, as may hereafter be made up, and its order in this matter shall be enforced by any proper proceeding, if it should not be obeyed by the parties. In order to carry out these directions the circuit court of Greenbrier shall obtain a completed copy of the record of this cause, so far as proceedings were had therein in the circuit court of Cabell, including the order of injunction, if one was granted, or, if it deems it more proper in order to have the views we have expressed and the directions we have given carried out, it may transfer this bause to the circuit court of Cabell county to be there proceeded with; and this decree and opinion should be certified to the circuit court of Greenbrier county and by it to the circuit court of Cabell county.
ReVBESBD. REMANDED.