Field.PhoneticGuide property (Publisher)

Returns a PhoneticGuide object that represents the properties of phonetic text applied to a text range.

Syntax

expression.PhoneticGuide

expression A variable that represents a Field object.

Return value

PhoneticGuide

Example

This example adds phonetic text to the selection and displays the text to which the phonetic text applies, which is the originally selected text. This example assumes that text is selected. If no text is selected, the message box is blank.

Sub AddPhoneticText() 
 With Selection.TextRange.Fields.AddPhoneticGuide _ 
 (Range:=Selection.TextRange, Text:="ver-E nIs") 

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.