Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.34 KB

Excel.Application.GetPhonetic.md

File metadata and controls

52 lines (32 loc) · 1.34 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.GetPhonetic method (Excel)
vbaxl10.chm133245
vbaxl10.chm133245
Excel.Application.GetPhonetic
530be07e-04ed-81c5-3b12-93b78e494a3b
04/04/2019
medium

Application.GetPhonetic method (Excel)

Returns the Japanese phonetic text of the specified text string. This method is available to you only if you have selected or installed Japanese language support for Microsoft Office.

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 the possible phonetic text strings from the specified string.

strPhoText = Application.GetPhonetic("??") 
While strPhoText <> "" 
    MsgBox strPhoText 
    strPhoText = Application.GetPhonetic() 
Wend

[!includeSupport and feedback]