I don't think it would ever be possible to fix a hyphenated name so simply,
however
Dim sText As String
sText = Selection.Text
If InStr(1, sText, "-") Then
sText = Replace(sText, "-", " ")
sText = StrConv(sText, vbProperCase)
sText = Replace(sText, " ", "-")
Else
sText = StrConv(sText, vbProperCase)
End If
AutoCorrect.Entries.Add Name:="UU", Value:=sText
will do so.

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Hi Jay,
>
[quoted text clipped - 35 lines]
>>> But suppose the selected text is in upper case and one wants it to
>>> be assigned to "UU" in title case. How would one do that?
Alan Stancliff - 03 Feb 2008 06:41 GMT
Thanks Graham,
That definitely did it. Now I've got to get me some books on VBA as I'm
beginning to be "curiouser and curiouser."
Regards,
Alan
> I don't think it would ever be possible to fix a hyphenated name so simply,
> however
[quoted text clipped - 51 lines]
> >>> But suppose the selected text is in upper case and one wants it to
> >>> be assigned to "UU" in title case. How would one do that?
Graham Mayor - 03 Feb 2008 07:34 GMT
You'll probably learn more from the Word vba help and by regularly following
the practical solutions in this forum.
http://www.gmayor.com/MSNews.htm may help make this forum -
microsoft.public.word.vba.general - more accessible.

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Thanks Graham,
>
[quoted text clipped - 68 lines]
>>>>> But suppose the selected text is in upper case and one wants it to
>>>>> be assigned to "UU" in title case. How would one do that?
Alan Stancliff - 04 Feb 2008 00:51 GMT
Thanks for the link, Graham. I'll try to set that up on my "Agent"
newsreader. If that fails, I'll fire up OE.
Regards,
Alan
> You'll probably learn more from the Word vba help and by regularly following
> the practical solutions in this forum.
[quoted text clipped - 73 lines]
> >>>>> But suppose the selected text is in upper case and one wants it to
> >>>>> be assigned to "UU" in title case. How would one do that?