Powerpoint öffnen
31.05.2005 20:17:09
Basti
ich habe einen Code um Word zu öffnen und der sieht folgendermaßen aus:
Dim strDoc As String
strDoc = "C:\Dokumente und Einstellungen\Sebastian\Eigene Dateien\" & ListBox5.Value & ".doc "
Dim appWord As Object
If Dir(strDoc) "" Then
Set appWord = CreateObject("Word.Application")
appWord.Visible = True
appWord.Documents.Open strDoc
Set appWord = Nothing
Jetzt möchte ich damit aber eine PPT-Datei öffnen. Leider bekomme ich das Teil nicht selber umgestellt. Kann mir jemand helfen.
Gruß Basti