Selling shares for money to donate to charity is actually a tax mistake. I've done it and regret it. Just donate the shares to the charity and let them cash it out.
Surely the CEO has a tax advisor to advise... so this leads me to believe that very little of it will "go to the charities"