- ©«¤l
- 107
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 127
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows XP
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-8-29
- ³Ì«áµn¿ý
- 2023-11-17
|
¥Ñ©ó±ý©ó Excel VBA ¥[¤J¹Ï¹³°T®§´£¿ô¥~,
ªñ¤é¥ç¶}©l¥[¤J¸Üµ´£¥Ü.
¥t¬°¤F´î¤Ö xls Àɮתº®e¶q,
§Ú§â¼½©ñªºµ®ÄÀɤÀ¬°¨âÃþ,
¤@Ãþ¬Oµøµ¡¤º¸m¦³ªºµ®ÄÀÉ,
§Ú¨Ï¥Î¥H¤U¤è¦¡¼½©ñ.- Private Declare Function sndPlaySound32 _
- _
- Lib "winmm.dll" _
- Alias "sndPlaySoundA" ( _
- ByVal lpszSoundName As String, _
- ByVal uFlags As Long) As Long
- Sub PlayFunishWavFile()
- sndPlaySound32 "C:\Windows\Media\tada.wav", 0&
- End Sub
½Æ»s¥N½X ·ín¼½©ñªº®ÉÔ¥u¥Î application.run "PlayFinishWavFile" ³o¤@¥y´N¥i¥H.
³oÓ¤èªk©ó Excel 2003 ©M 2007 ¬Ò¨S¦³¥X²{°ÝÃD.
²Ä¤GÃþªºµ®ÄÀɧڥHª«¥óªº¤èªk´¡¤J¨ì Excel ¤º,
¨Ï¥Î¥¨¶°¿ý¨úªº¤èªk¨ú±o¥H¤U¥N½X.- Sub PlayWelcomeWavFile()
- Sheets("Data_Field").Select
- Sheets("Data_Field").Shapes("Object 1410").Select
- Selection.Verb Verb:=xlPrimary
- End Sub
½Æ»s¥N½X ·ín¼½©ñªº®ÉÔ¥u¥Î application.run "PlayWelcomeWavFile" ³o¤@¥y´N¥i¥H.
³oÓ¤èªk©ó Excel 2003 ¨S¦³¥X²{°ÝÃD,
¦Ó¥B®ÄªG§Ú¤Q¤Àº¡·N.
¦ý·í§Ú§â³oÓÀɮײ¾¦Ü 2007 °õ¦æ®É,
¥X²{¤F¥H¤U°ÝÃD:
1. ì©óÀɮשlº°õ¦æªº- Private Sub Workbook_Open()
- Application.ScreenUpdating = False
- Application.Visible = False
½Æ»s¥N½X , ©ó²Ä¤@¦¸°õ¦æ¼½©ñ´¡¥óµ®ÄÀɮɳo¨âÓ«ü¥O´N·|¥¢®Ä,
·|¦Û¦æÅã¥Ü¦^¨Ó.
2. ©ó¼½©ñµ®ÄÀɮɷ|¼u¥X Windows Media Player, ¦ý©ó 2003 °õ¦æ®É¤£·|¦³³oÓ±¡ªp.
½Ð°Ý°ÝÃD¥X¦b¨º¸Ì, ¬O 2007 ªº°ÝÃDÁÙ¬O...?
½Ð«ü±Ð |
|