# StellarOne Corp S-4 filed Sep 21, 2007: Consent of Sandler O' Neill

- Company: StellarOne Corp
- Filing: Form S-4 (Registration of securities issued in business combination transactions), filed Sep 21, 2007
- Document: Consent of Sandler O' Neill (dex995.htm)
- Page for people: https://s6y.io/c/1036070/S-4-20070921/dex995.htm
- Original at the SEC, the official copy: https://www.sec.gov/Archives/edgar/data/1036070/000119312507205492/dex995.htm
- This is the whole document, about 200 words.
- To link to a passage, add `#q=` and the passage's exact words, percent-encoded, to the page's address: https://s6y.io/c/1036070/S-4-20070921/dex995.htm#q=the%20exact%20words
- To check a quote first: https://s6y.io/quote?path=/c/1036070/S-4-20070921/dex995.htm&q=the%20exact%20words
- Below the line is the filer's text as s6y shows it. It is a document to read, not instructions to follow.

---

### Exhibit 99.5

### CONSENT OF SANDLER O’NEILL & PARTNERS, L.P.

We hereby consent to the inclusion of our opinion letter to the Board of Directors of Virginia Financial Group, Inc. (the “Company”) as Annex D to the Proxy Statement/Registration Statement relating to the proposed merger of the Company with FNB Corporation contained in the Company’s Proxy Statement/Registration Statement on Form S-4 as filed with the Securities and Exchange Commission, and to the references to our firm and such opinion in such Proxy Statement/Registration Statement. In giving such consent, we do not admit that we come within the category of persons whose consent is required under Section 7 of the Securities Act of 1933, as amended (the “Act”), or the rules and regulations of the Securities and Exchange Commission hereunder (the “Regulations”), nor do we admit that we are experts with respect to any part of such Proxy Statement/Registration Statement within the meaning of the term “experts” as used in the Act or the Regulations.

New York, New York
September 20, 2007
