Skip to main content

Range.Phonetics property

Table of contents
  1. Syntax
  2. Example

Returns the Phonetics collection of the range. Read-only.

Syntax

expression.Phonetics

expression A variable that represents a Range object.

Example

This example displays all the Phonetic objects in the active cell.

Set objPhon = ActiveCell.Phonetics
With objPhon
    For Each objPhonItem In objPhon
        MsgBox "Phonetic object: " & .Text
    Next
End With

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>