Ed wrote:
> Karl (or others):
>
> I am trying to count "forward slashes". "/"
>
> The routine you suggested works perfectly in Word2003. And it works
> perfectly in Word2007 if there are no images. But if there are images within
> the selected text, the images get counted as a slash, messing up the count.
> Is there another technique? (Is this a bug in Word2007)?
As I suggested, you'll need to reduce the selection to *text*, for my trick to work.
That's an object model issue; one I'm not all that familiar with. There's gotta be
some simple method, though. The images, obviously, are not text.
--
.NET: It's About Trust!
http://vfred.mvps.org