oseitutuSamuel
Board Regular
- Joined
- Jul 31, 2015
- Messages
- 82
Hi All,
I have a VBA code that plays an audio (ma4) created in Camtasia. When I play the audio, I only want to hear the sound/voice
without the interface displaying. I used the code below, but no matter how I fiddle with it, the media always appears when playing.
I only wish to hear the audio and nothing else. Any help please?
Thanks:
This is a partial code:
Private Sub Worksheet_Activate()
Dim FileName As String
Dim Result As LongPtr
FileName = ThisWorkbook.path & "\audio.m4a"
Result = ShellExecute(0&, "", FileName, "vbNullString", "vbNullString", vbNormalFocus)
If Result < 32 Then MsgBox "Error"
End Sub
I have a VBA code that plays an audio (ma4) created in Camtasia. When I play the audio, I only want to hear the sound/voice
without the interface displaying. I used the code below, but no matter how I fiddle with it, the media always appears when playing.
I only wish to hear the audio and nothing else. Any help please?
Thanks:
This is a partial code:
Private Sub Worksheet_Activate()
Dim FileName As String
Dim Result As LongPtr
FileName = ThisWorkbook.path & "\audio.m4a"
Result = ShellExecute(0&, "", FileName, "vbNullString", "vbNullString", vbNormalFocus)
If Result < 32 Then MsgBox "Error"
End Sub