¬O§_¥i¥H»s§@¤@Ӯɶ¡¨ì´N·|¥X²{´£¿ôµøµ¡©Mµ¼Öªºµ{¦¡?
- ©«¤l
- 155
- ¥DÃD
- 56
- ºëµØ
- 0
- ¿n¤À
- 242
- ÂI¦W
- 0
- §@·~¨t²Î
- WinXP
- ³nÅ骩¥»
- ±M·~ª©2002
- ¾\ŪÅv
- 0
- µù¥U®É¶¡
- 2010-5-29
- ³Ì«áµn¿ý
- 2011-7-18
|
¬O§_¥i¥H»s§@¤@Ӯɶ¡¨ì´N·|¥X²{´£¿ôµøµ¡©Mµ¼Öªºµ{¦¡?
¬O§_¥i¥H±N¤U¦Cµ{¦¡§ï¦¨Äæ¦ì®É¶¡¨ì¤F´N¥X²{´£¥Ü? - Private Sub CommandButton1_Click()
- Dim TheDay#, Msg$, J1%, S$, Hh$, Mm$, Ss$
- For J1 = 2 To Sheets("Sheet1").[C65536].End(xlUp).Row
- If Range("C" & J1) <> "" And IsDate(Range("C" & J1)) Then
- TheDay = Now - Range("C" & J1).Value: Msg = " ®É¶¡ ¤w¹L"
- If Range("C" & J1) >= Now Then TheDay = Range("C" & J1) - Now: Msg = " ®É¶¡ ÁÙ¦³"
- If Abs(Int(TheDay)) > 0 Then
- Mm = Format(Minute(TheDay), "00¤ÀÄÁ")
- Ss = Format(Second(TheDay), "00’")
- Hh = Abs(Int(TheDay)) * 24 + Hour(TheDay) & "¤p®É" + Mm + Ss
- Else
- Hh = Format(TheDay, "hh¤p®Émm¤ÀÄÁss¬í")
- Hh = Replace(Hh, "00¤p®É", "")
- End If
- Hh = Replace(Replace(Hh, "00¤ÀÄÁ", ""), "00¬í", "")
- S = IIf(S = "", "", S & vbNewLine) & "¶ZÂ÷ " & Sheets("Sheet1").Range("A" & J1) & Msg & Hh
- End If
- Next
- If S <> "" Then
- With Sheet1.WindowsMediaPlayer1 '¥[¤JMediaPlayer¼½©ñµ¼Ö
- .URL = "D:\¼Æ¦Ïºq.MP3" '½ÐקﵼÖÀÉ®×
- .Visible = False
- .Controls.Play '¼½©ñµ¼Ö
- MsgBox S
- .Controls.Stop 'Ãö³¬µ¼Ö
- End With
- End If
- End Sub
½Æ»s¥N½X¥H¤WÂà¦Û©ó http://forum.twbts.com/viewthrea ... p;extra=&page=2ªºGBKEEª©¥D©Ò»s§@
|
|
|
|
|
|