L
Larry
Is there a way of knowing if a change ordered by vba has actually
occurred?
For example, I'd like to know, after running the below code, whether the
case of a character was actually changed, since the character might have
been punctuation that doesn't have a case.
If Selection.Words(1).Characters(1).Case = wdUpperCase Then
Selection.Words(1).Characters(1).Case = wdLowerCase
Else
Selection.Words(1).Characters(1).Case = wdUpperCase
End If
Thanks,
Larry
occurred?
For example, I'd like to know, after running the below code, whether the
case of a character was actually changed, since the character might have
been punctuation that doesn't have a case.
If Selection.Words(1).Characters(1).Case = wdUpperCase Then
Selection.Words(1).Characters(1).Case = wdLowerCase
Else
Selection.Words(1).Characters(1).Case = wdUpperCase
End If
Thanks,
Larry