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

¦p¦ó¼gDDEIJ»ùĵ¥ÜVBAµ{¦¡

¦p¦ó¼gDDEIJ»ùĵ¥ÜVBAµ{¦¡

°ª¤â­Ì¤j®a¦n
§Ú³z¹L¨é°Ó¬Ý½L¨t²Î´£¨ÑªºDDE¥\¯à,±N¥x«ü§Y®É¦æ±¡Âà¸ü¦ÜExcel
°w¹ï§Y®ÉÅܰʪº¥x«ü¦¨¥æ»ù,§Ú·Q³]©wIJ»ùĵ¥Ü¥\¯à
¨Ò¦p:¥x«ü§Y®É¦¨¥æ»ù¦bC1«ùÄòÅÜ°Ê,·íC1»ù¦ì¸IIJ¨ìF1(8700©Î¨ä¥L§Ú«ü©w»ù®æ)®É,¹q¸£·|±Ò°Ê§Ú«ü©wªº­µ®ÄÁn­µ
½Ð°Ý³oºØVBAµ{¦¡¸Ó«ç»ò¼g?

¤u§@ªí¼Ò²Õ¡G
  1. Private Sub Worksheet_Calculate()
  2. If [c1] >= [f1] Then ¼½©ñwav
  3. End Sub
½Æ»s¥N½X
¤@¯ë¼Ò²Õ¡G
  1. Private Declare Function PlayWaveSound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszsoundname As String, ByVal uflags As Long) As Long

  2. Public Sub ¼½©ñwav()

  3.     Dim soundName As String

  4.     soundName = "C:\WINDOWS\Media\Windows XP ±Ò°Ê.wav"    '«ü©w?­µ¤å¥ó

  5.     PlayWaveSound soundName, 1

  6. End Sub
½Æ»s¥N½X

TOP

¦^´_ 2# oobird


   ¦pªG±ø¥ó·Q­n©ñ¼eÃP¤@ÂI
¥i¥HÀH·N«ü©w¬Y­ÓÄæ¦ìªº­È¤j©ó©ÎªÌ¤p©ó©ÎªÌµ¥©ó¥t¤@Ä檺¸Ü
­n«ç»ò¥h§ï³o­Óµ{¦¡½X©O

TOP

        ÀR«ä¦Û¦b : ¡i°±º¢¤£«e¡A²×µL©Ò±o¡j¤H³£°g©ó´M§ä©_ÂÝ¡A¦]¦Ó°±º¢¤£«e¡FÁa¨Ï®É¶¡¦A¦h¡B¸ô¦Aªø¡A¤]¤FµL¥Î³B¡A²×µL©Ò±o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD