WD2000: Selection Returns Left Parenthesis Instead of Text

ID: Q212658


The information in this article applies to:


SYMPTOMS

When you use the Visual Basic for Applications Selection property to return selected text in a document, an open left parenthesis "(" may appear instead of the expected characters.


CAUSE

The selected text contains text that has been formatted with a Symbol type font such as Symbol, Wingdings, or Webdings.

To demonstrate the problem, the following Visual Basic macro displays a left parenthesis in a Message Box when a Symbol character is selected in a Word document:


Sub TestExample()
   ' Display the selection to a message box.
   MsgBox Selection.Text
End Sub 


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words: vba vbe vb


Keywords          : kbdta kbdtacode kbwordvba wd2000 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: July 8, 1999