ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

VBA­µ®Ä

¿é¥XÁn­µ

½Ð°Ý¦p¦ó¥HExcel¤§VBA¦Û³â¥z¿é¥XÁn­µ?

TOP

¹³³o¼Ë? µo¤@Án"¹Í"

Sub test()
    Beep
End Su

TOP

VBA­µ®Ä

Excel¤§VBAÁn­µÄµ¥Ü¨Ï¥Î­µ¼ÖÀɵoÁn

¦b«Å§i°Ï«Å§i
Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long

¦bµ{¦¡°Ï®a¤W©I¥s­µ¼ÖÀÉ
       file1 = "D:\pocketPC\Audio-1.wav" '¶ñ­n¼½©ñªº­µ¼ÖÀÉ
     mciSendString "seek " & file1 & " to start", vbNullString, 0, 0
        mciSendString "open " & file1, vbNullString, 0, 0
        mciSendString "play " & file1, vbNullString, 0, 0

´ú¸ÕOK

¥»©«³Ì«á¥Ñ oobird ©ó 2011-5-17 15:55 ½s¿è

2011/05/17¥t¦³¤@¤å
Excel¤§VBAÁn­µÄµ¥Ü¨Ï¥Î­µ¼ÖÀɵoÁn
¸g´ú¸ÕOK¨Ñ°Ñ¦Ò

TOP

        ÀR«ä¦Û¦b : ¦¨¥\¬OÀuÂIªºµo´§¡A¥¢±Ñ¬O¯ÊÂIªº²Ö¿n¡C
ªð¦^¦Cªí ¤W¤@¥DÃD