Document.ActiveThemeDisplayName プロパティ (Word)
指定された文書のアクティブ テーマの表示名を返します。 読み取りのみ可能な String 値です。
構文
式。 ActiveThemeDisplayName
式Document オブジェクトを表す変数。
注釈
The ActiveThemeDisplayName property returns "none" if the document doesn't have an active theme. A theme's display name is the name that appears in the Theme dialog box. This name may not correspond to the string you would use to set a default theme or to apply a theme to a document.
例
次の使用例は、現在の文書で使用されているテーマの表示名を表示します。
Sub DisplayThemeName()
ActiveDocument.ApplyTheme "artsy 100"
MsgBox ActiveDocument.ActiveThemeDisplayName
End Sub
関連項目
サポートとフィードバック
Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示