Thanks, Greg.
Yes, AutoSyntax is set.
I don't see any hyphens at all in VB.
When I click OK on the Compile Error Message, the message box goes away, and
the first line [Sub TitleCaseWithLowerCase()] is highlighted, with a little
arrow pointing to it. The arrow is in the Left margin.
Pressing F8, Alt-F8, and Cntrl-F8 does nothing.
--I'm working in W2k, with Word 2002. Does that make a difference?
Thanks for helping me with this, Greg. I frequently need this function.