In the case (i) of a candidate who has died if the notice is filed with the proper official at least 25 days before the day on which the election is to be held or (ii) of a candidate who has withdrawn or had his nomination set aside if the notice is filed with the proper official at least 60 days before the day on which the election is to be held, the electoral board or boards having charge of the printing of the ballots for such election shall either:
If the candidate so dying, withdrawing or having his nomination set aside is a candidate for an office to which more than one person is to be elected and none of the candidates was opposed prior to such death, withdrawal, or setting aside, then the ballots shall be so printed as to permit the electors to vote separately for the remaining unopposed candidate or candidates, and for such persons who filed notice of candidacy as provided in this article.
Whenever any additional candidate qualifies as provided in this article, no votes previously cast by absentee ballot for a candidate for such office shall be counted, but any person who has so voted shall be entitled to receive a new ballot and to vote for his choice among all the candidates for such office.
Va. Code § 24.2-541