Range.Kana property (Word)
Returns or sets whether the specified range of Japanese language text is hiragana or katakana. Read/write WdKana.
Syntax
expression. Kana
expression Required. A variable that represents a Range object.
Remarks
This property returns wdUndefined if the range contains a mix of hiragana and katakana or if the range contains some non-Japanese text. If you set the Kana property to wdUndefined, an error occurs.
Example
This example displays what type of Japanese text the current selection contains.
Select Case Selection.Range.Kana
Case wdKanaHiragana
MsgBox "This text is hiragana."
Case wdKanaKatakana
MsgBox "This text is katakana."
Case wdUndefined
MsgBox "This text is a mix of " _
& "hiragana and katakana."
End Select
See also
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.
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin