David,
If it's a worksheet function you want, try
=SUM(LEN(A1:A5)-LEN(SUBSTITUTE(A1:A5,"e","")))
which is an array formula, so enter with Ctrl-Shift-Enter.
If you want to do it in VBA, use
Debug.Print
Application.Evaluate("SUM(LEN(A1:A5)-LEN(SUBSTITUTE(A1:A5,""e"","""")))")
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)