commandbutton text/assigning sounds
Try the below...
Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" _
(ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
Sub Macro()
sndPlaySound "C:\1.wav", 1
End Sub
If this post helps click Yes
---------------
Jacob Skaria
"Bishop" wrote:
My first question: Can I underline just one letter in a word on a
commandbutton? So say I have the word "PG-13" and I just want the 3
underlined. Is this possible?
Second question: Can I assign a .wav (or similar soundbit) to a button so
that when the button is pushed or activated that sound will play?
|