Skip to main content

Range.SetPhonetic method

Table of contents
  1. Syntax
  2. Remarks
  3. Example

Creates Phonetic objects for all the cells in the specified range.

Syntax

expression.SetPhonetic

expression A variable that represents a Range object.

Remarks

Any existing Phonetic objects in the specified range are automatically overwritten (deleted) by the new objects that you add by using this method.

Example

This example creates a Phonetic object for each cell in the range A1:A10 on the active worksheet.

ActiveSheet.Range("A1:A10").SetPhonetic

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>