You can see : How To Use ShellExecute to Launch Associated File (32-bit)
VBA Command Shell Syntax
Hello, I just want to open a file.
In this example the CALC, exe runs without problems,
The file, a soundtrack, cannot be found in the code at the end, why? The code has only been modified, but basically remained the same. Calc can be started but the soundtrack cannot?
Private Sub TestFeld_DblClick(Cancel As Integer)
'Testfeld
'Dim Ergebnis
'Ergebnis = Shell("C:\WINDOWS\system32\CALC.EXE", 1)
'Close
'_______________________________________________________________________
Dim Start
Start = Shell("C:\Vokabel\34blabla.vma", 1)
End Sub
I need that call, becouse i working on my own Learn DB.
Can some please help me.