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

excel Àx¦s®æ¤º¤å¦r°{Ã{

excel Àx¦s®æ¤º¤å¦r°{Ã{

½Ð±Ð~­Y¤u§@ªí¤º¿é¤J¤º®e¬°"²§±`"®É¡A§Æ±æ¸Ó¤å¦r¥i°{Ã{
¬d¤å~vba¦n¹³¥i¥H§¹¦¨¦¹»Ý¨D¡A·Ð½Ð¤j®v¨ó§U:dizzy:

¥»©«³Ì«á¥Ñ stillfish00 ©ó 2015-9-25 19:02 ½s¿è

¦^´_ 1# hiasohu
¤@©w­n°{Ã{? °ª«G©³¦â¤£¦n¶Ü?
°µ±o¨ì¬O°µ±o¨ì...¦ý¬O¤£ºÞ¬O¥Î loop ©Î ontime
¦pªG¦Ò¼{½ÆÂø¤u§@ªí¦³³\¦h¥¨¶°/IJµo¨Æ¥ó®É¡A°{Ã{¥u¬O¦Û§ä³Â·Ð¡C
*ÁÙ¦³¨S©w¸q¤°»ò¥s°µ'²§±`'
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C

TOP

«¢«¢~~°{Ã{¥u¬O¬ðµo¨ä·Q°Õ!!
¤£¹L~~ÁÙ¬O§Æ±æ¤j®v¯à¨ó§U~~
©Ò¿×~~²§±`~~~«üªº¬O~~Àx¦s®æ¤º¿é¤J"²§±`"¨â¦r~~§Y°{Ã{
¦³À|¸Õ¥Îontime~~¦ýÁÙ¬O¥¢±Ñ¤F!!ÁÙ±æ¤j®vÀ°¦£....

TOP

¤w¾¨¶qÁקK¹ïÀÉ®×¾Þ§@²£¥Íªº¤zÂZ¡A½Ð¦Û¦æ¥h®M¥Î¡A
¥u¯à¨C¬í¥h°{¦r¡]¦ô­p¦b¹ê¥Î©Ê¤WÀ³¤£°ª¡A²¦³º EXCEL ¬O¸û¾A¦X¸ê®Æ³B²z¡^¡G
VBA + ©w¸q¦WºÙ + ®æ¦¡¤Æ±ø¥ó¡]¤T¦X¤@¹B°Ê¡^¡@
¡@
  1. '¡Õ¼Ò²Õ°Ï¡Ö
  2. Public uTime¡@'³»ºÝ¦@¥ÎÅܼƫŧi
  3. ¡@
  4. Sub Change_SND()¡@'¨C¬í¦Û°Êµ{¦¡
  5. [IV65536].Calculate¡@'§Q¥Î¤@­ÓÀx¦s®æ²£¥ÍÅܤÆ
  6. uTime = Now + TimeValue("00:00:01")
  7. Application.OnTime uTime, "Change_SND"
  8. End Sub
½Æ»s¥N½X
¡@
  1. '¡Õ¬¡­¶Ã¯¨Æ¥ó°Ï¡Ö
  2. Private Sub Workbook_BeforeClose(Cancel As Boolean)
  3. If uTime <> "" Then
  4. ¡@¡@Application.OnTime uTime, "Change_SND", Schedule:=False
  5. End If
  6. End Sub
  7. ¡@
  8. ¡@
  9. Private Sub Workbook_Open()
  10. Call Change_SND
  11. End Sub
½Æ»s¥N½X
¡@

©w¸q¦WºÙ¡eX_SND¡f¡G=MOD(SECOND(NOW()),2)
¡@
®æ¦¡¤Æ±ø¥ó¡e¢Ï¢°¡f¡G
±ø¥ó¤@¡D¤å¦r³]¡eºñ¦â¡f¡G=(A1="²§±`")*X_SND
±ø¥ó¤G¡D¤å¦r³]¡e¬õ¦â¡f¡G=(A1="²§±`")

TOP

        ÀR«ä¦Û¦b : ¤£­n¤p¬Ý¦Û¤v¡A¦]¬°¤H¦³µL­­ªº¥i¯à¡C
ªð¦^¦Cªí ¤W¤@¥DÃD