wie kann ich mit VBA eine Datei mit Ihrer Anwendung starten.
Pfad und Namen habe ich. z. B.: C:\Daten\Anleitung.pdf
Vielen Dank im Voraus
Helmut
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpOperation As String, _
ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Sub test()
Dim Pfad As String
Pfad = "C:\Daten\Anleitung.pdf"
ShellExecute Application.hwnd, "Open", Pfad, _
vbNullString, vbNullString, vbNormalFocus
End Sub