Syntax

expression.GetPhonetic(Text)

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
Text Optional Variant Specifies the text to be converted to phonetic text. If you omit this argument, the next possible phonetic text string (if any) of the previously specified Text is returned. If there are no more possible phonetic text strings, an empty string is returned.

Return Value
String

Example

This example displays all of the possible phonetic text strings from the specified string.

Visual Basic for Applications
strPhoText = Application.GetPhonetic(" junko junko") While strPhoText <> "" MsgBox strPhoText strPhoText = Application.GetPhonetic() Wend
get phonetic Get Phonetic Method GetPhonetic GetPhonetic Method

See also: