Application Property

Returns an Application object that represents the creator of the specified object.

expression.Application

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Example

In this example, a Presentation object is passed to the procedure. The procedure adds a slide to the presentation and then saves the presentation in the folder where Microsoft PowerPoint is running.

Sub AddAndSave(pptPres As Presentation)
    pptPres.Slides.Add 1, 1
    pptPres.SaveAs pptPres.Application.Path & "\Added Slide"
End Sub

This example displays the name of the application that created each linked OLE object on slide one in the active presentation.

For Each shpOle In ActivePresentation.Slides(1).Shapes
    If shpOle.Type = msoLinkedOLEObject Then
        MsgBox shpOle.OLEFormat.Application.Name
    End If
Next

Applies to | ActionSetting Object | ActionSettings Collection Object | AddIn Object | AddIns Collection Object | Adjustments Object | AnimationBehavior Object | AnimationBehaviors Collection | AnimationPoint Object | AnimationPoints Collection | AnimationSettings Object | Borders Collection Object | BulletFormat Object | CalloutFormat Object | Cell Object | CellRange Collection Object | ColorEffect Object | ColorFormat Object | ColorScheme Object | ColorSchemes Collection Object | Column Object | Columns Collection Object | CommandEffect Object | Comment Object | Comments Collection | ConnectorFormat Object | Design Object | Designs Collection | Diagram Object | DiagramNode Object | DiagramNodeChildren Collection | DiagramNodes Collection | DocumentWindow Object | DocumentWindows Collection Object | Effect Object | EffectInformation Object | EffectParameters Object | ExtraColors Object | FillFormat Object | FilterEffect Object | Font Object | Fonts Collection Object | FreeformBuilder Object | GroupShapes Collection Object | HeaderFooter Object | HeadersFooters Object | Hyperlink Object | Hyperlinks Collection Object | LineFormat Object | LinkFormat Object | Master Object | MotionEffect Object | NamedSlideShow Object | NamedSlideShows Collection Object | ObjectVerbs Object | OLEFormat Object | PageSetup Object | Pane Object | Panes Collection Object | ParagraphFormat Object | PictureFormat Object | PlaceholderFormat Object | Placeholders Collection Object | PlaySettings Object | Presentation Object | Presentations Collection Object | PrintOptions Object | PrintRange Object | PrintRanges Collection Object | PropertyEffect Object | PublishObject Object | PublishObjects Collection Object | RGBColor Object | RotationEffect Object | Row Object | Rows Collection Object | Ruler Object | RulerLevel Object | RulerLevels Collection Object | ScaleEffect Object | Selection Object | Sequence Collection | Sequences Collection | SetEffect Object | ShadowFormat Object | Shape Object | ShapeNode Object | ShapeNodes Collection Object | ShapeRange Collection Object | Shapes Collection Object | Slide Object | SlideRange Collection Object | Slides Collection Object | SlideShowSettings Object | SlideShowTransition Object | SlideShowView Object | SlideShowWindow Object | SlideShowWindows Collection Object | SoundEffect Object | Table Object | TabStop Object | TabStops Collection Object | Tags Object | TextEffectFormat Object | TextFrame Object | TextRange Object | TextStyle Object | TextStyleLevel Object | TextStyleLevels Collection Object | TextStyles Collection Object | ThreeDFormat Object | TimeLine Object | Timing Object | View Object