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

[µo°Ý] ·íºô­¶¦³§ó·s¡A¦p¦ó¥XÁn­µ´£¥Ü

¦^´_ 2# donod

ºô­¶§ó·s»PEXCEL¦³¦óÃöÁp?
³o­Ó°ÝÃD¦ü¥G¤£À³¸Ó¬O¦bEXCELµ{¦¡°Ïµo°Ýªº
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 4# donod

¤Þ¥Î¨F©Ôªoª©¤j³¡¸¨®æ¤å³¹
ÅýWEB¬d¸ß¨ã¦³¨Æ¥ó
1.¥ý¦b²Ä¤@±i¤u§@ªí«Ø¥ß¤@­ÓWeb¬d¸ß   
2.Thisworkbook¼Ò²Õ¿é¤Jµ{¦¡½X
  1. Public WithEvents qyt As QueryTable

  2. '¬d¸ßµ²§ô«áªº¨Æ¥ó
  3. Private Sub qyt_AfterRefresh(ByVal Success As Boolean)
  4.     ¼½©ñ "C:\Users\Hsieh\Documents\ringout.wav" '§¹¦¨§ó·s­n¼½©ñªºwavÀÉ®×
  5. End Sub

  6. Private Sub Workbook_Open()
  7.     '¦pªG¤u§@ªí Sheet1 ¤º¤w¸g¦³WEB¬d¸ß¤F¡A´N±N¨ä«ü©wµ¹ÅÜ¼Æ qyt
  8.     If Worksheets(1).QueryTables.Count > 0 Then
  9.         Set qyt = Worksheets(1).QueryTables(1)
  10.     Else
  11.         '¦pªG¨S¦³¥i¥H¦Ò¼{¦b³o¸Ì«Ø¥ß¤@­Ó¬d¸ß,¦A±N¥¦«ü©wµ¹ qyt
  12.         '©ÎªÌ±N qyt «ü©wµ¹¨ä¥L¤u§@ªíªºWEB¬d¸ß¡]¦pªG¦³»Ý­nªº¸Ü¡^
  13.     End If
  14. End Sub
½Æ»s¥N½X
3.¤@¯ë¼Ò²Õ¿é¤J¥H¤Uµ{¦¡½X
  1. Private Declare Function mciExecute Lib "winmm.dll" (ByVal lpstrcommand As String) As Long
  2. Sub ¼½©ñ(mypath)
  3. On Error Resume Next
  4. mciExecute "play " & mypath
  5. End Sub
½Æ»s¥N½X
4.Àx¦sÀɮסAÃö³¬«á­«·s¶}±ÒÀÉ®×
¬d¸ß«á¼½­µ.rar (16.66 KB)
¾Ç®üµL²P_¤£®¢¤U°Ý

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