プレゼンテーション オブジェクト (PowerPoint)

Microsoft PowerPoint のプレゼンテーションを表します。

注釈

Presentation オブジェクトは Presentations コレクションのメンバーです。 Presentations コレクションには、PowerPoint で開かれたプレゼンテーションを表すすべての Presentation オブジェクトが含まれています。

次の使用例は、次の方法を示しています。

  • 名前またはインデックス番号で指定したプレゼンテーションを取得する

  • 作業中のウィンドウのプレゼンテーションを取得する

  • 指定したプレゼンテーション ウィンドウまたはスライド ショー ウィンドウのプレゼンテーションを取得する

1 つの Presentation オブジェクトを返すには、Presentations (index) を使用します。index はプレゼンテーションの名前またはインデックス番号です。 プレゼンテーションの名前はファイルの名前になり、パスは含めずに、ファイル名拡張子は付けても付けなくてもかまいません。 次の使用例は、サンプル プレゼンテーションの先頭にスライドを追加します。

Presentations("Sample Presentation").Slides.Add 1, 1

同じ名前を持つ複数のプレゼンテーションが開かれている場合は、指定した名前のコレクション内の最初のプレゼンテーションが取得されます。

ActivePresentation プロパティを使用して、作業中のウィンドウでプレゼンテーションを返します。 次の使用例は、作業中のプレゼンテーションを保存します。

ActivePresentation.Save

指定したドキュメント ウィンドウまたはスライド ショー ウィンドウにあるプレゼンテーションを取得するには、 Presentation プロパティを使用します。 次の使用例は、スライド ショー ウィンドウ 1 で実行中のスライド ショーの名前を表示します。

MsgBox SlideShowWindows(1).Presentation.Name

メソッド

名前
AcceptAll
AddTitleMaster
AddToFavorites
ApplyTemplate
ApplyTemplate2
ApplyTheme
CanCheckIn
CheckIn
CheckInWithVersion
Close
Convert2
CreateVideo
EndReview
EnsureAllMediaUpgraded
Export
ExportAsFixedFormat
ExportAsFixedFormat2
FollowHyperlink
GetWorkflowTasks
GetWorkflowTemplates
LockServerFile
Merge
MergeWithBaseline
NewWindow
PrintOut
PublishSlides
RejectAll
RemoveDocumentInformation
Save
SaveAs
SaveCopyAs
SaveCopyAs2
SendFaxOverInternet
SetPasswordEncryptionOptions
UpdateLinks

プロパティ

名前
アプリケーション
Broadcast
BuiltInDocumentProperties
ChartDataPointTrack
Coauthoring
ColorSchemes
CommandBars
Container
ContentTypeProperties
CreateVideoStatus
CustomDocumentProperties
CustomerData
CustomXMLParts
DefaultLanguageID
DefaultShape
Designs
DisplayComments
DocumentInspectors
DocumentLibraryVersions
EncryptionProvider
EnvelopeVisible
ExtraColors
FarEastLineBreakLanguage
FarEastLineBreakLevel
Final
Fonts
FullName
GridDistance
Guides
HandoutMaster
HasHandoutMaster
HasNotesMaster
HasTitleMaster
HasVBProject
InMergeMode
IsFullyDownloaded
LayoutDirection
名前
NoLineBreakAfter
NoLineBreakBefore
NotesMaster
PageSetup
Parent
Password
PasswordEncryptionAlgorithm
PasswordEncryptionFileProperties
PasswordEncryptionKeyLength
PasswordEncryptionProvider
Path
アクセス許可
PrintOptions
ReadOnly
ReadOnlyRecommended
RemovePersonalInformation
Research
Saved
SectionProperties
SensitivityLabel
ServerPolicy
SharedWorkspace
署名
SlideMaster
Slides
SlideShowSettings
SlideShowWindow
SnapToGrid
同期する
Tags
TemplateName
TitleMaster
VBASigned
VBProject
Windows
WritePassword

関連項目

PowerPoint Object Model Reference

サポートとフィードバック

Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。