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

½Ð±Ðexcel¥ý¶i.

½Ð±Ðexcel¥ý¶i.

§Úªº¤u§@靈5­Óworksheet,¨ä¤¤¤@­Ó±µ¦¬ªÑ¥«DDEªº¸ê®Æ,
¥t¦³¤@­Ó§@¬°K½u¤À®Éªº°ª§CÂI¬ö¿ý,³o­Ó­pºâ§Ú¨Ï¥ÎWorksheet_Calculate()¨Æ¥ó;µM«á
§Ú¦b¥t¤@­Ó¤u§@ªí¬Ý¤ÀªR,¤u§@¥i¥H¶i¦æ¶¶§Q,¦ý¦³¤@­Ó§xÂZ¬Oµe­±¤£°±ªº°{Ã{.¦pªG±N
Calculateµ{¦¡¦æ¤¤Â_´N¤£·|°{¤F,§Ú¦bµ{¦¡«eºÝ¨Ï¥ÎApplication.ScreenUpdating = False,
¨S¦³®ÄªG,¨ÌµM·|°{Ã{¸õ°Ê.
½Ð±Ðexcel¥ý¶i:
¥i¤£¥i¯à°µ¨ìÅýµ{¦¡´N¦b­I´º°õ¦æ,¤£¼vÅTµe­±©O?

§Úªº¤u§@靈5­Óworksheet,¨ä¤¤¤@­Ó±µ¦¬ªÑ¥«DDEªº¸ê®Æ,
¥t¦³¤@­Ó§@¬°K½u¤À®Éªº°ª§CÂI¬ö¿ý,³o­Ó­pºâ§Ú¨Ï¥ÎW ...
seer_et µoªí©ó 2013-4-15 10:33



    Application.ScreenUpdate= False

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

Application.ScreenUpdate= False
mark15jill µoªí©ó 2013-4-16 09:54


mark¤j:[ª«¥ó¤£¤ä´©¦¹ÄݩʩΤèªk]©O!

TOP

mark¤j:[ª«¥ó¤£¤ä´©¦¹ÄݩʩΤèªk]©O!
seer_et µoªí©ó 2013-4-16 11:18



    §Ú¤ä´©¦¹ÄÝ©Ê©M¤èªkªü= ="(»~...

     §A¨º¬qµ{¦¡½X©ñ­þÃä....
     
     ¤£·|©ñ¦b³Ì«e­±§a~?

      ¶K­Ó¹Ï¤W¨ÓÁ@Á@Ðù

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

  1. Private Sub Worksheet_Calculate()

  2. If Time < TimeValue("8:45:00") Or Time > TimeValue("13:45:00") Then Exit Sub
  3. Application.ScreenUpdating = False
  4. On Error Resume Next
  5. If Application.WorksheetFunction.IsNumber(Cells(201, 5)) Then    '´Á³f¸ê®Æ§ó·s
  6. If Cells(201, 2) = 0 Then Cells(201, 2) = Cells(2, 38)
  7. If Cells(201, 3) = 0 Then Cells(201, 3) = Cells(201, 5)
  8. '
  9. '
  10. '
  11. End If
  12. End Sub
½Æ»s¥N½X
mark¤j2007ªºª©¬O"Application.ScreenUpdate= False"¶Ü?
§Ú2003ª©¤£¦æ
³oùص{¦¡°õ¦æ¶¶ºZ,¨S¦³°ÝÃD
§Ú¦b¥t¤@¤u§@ªí¬Ý¤ÀªR,¦ýµe­±·|¤@ª½°{°Ê,
´N·Q¨D±Ð¦³¨S¦³¤èªk¨Ïµ{¦¡¦wÀRªº¦b­I´º°õ¦æ,¤£¼vÅTµe­±.

TOP

¥»©«³Ì«á¥Ñ mark15jill ©ó 2013-4-17 10:21 ½s¿è
mark¤j2007ªºª©¬O"Application.ScreenUpdate= False"¶Ü?
§Ú2003ª©¤£¦æ
³oùص{¦¡°õ¦æ¶¶ºZ,¨S¦³°ÝÃD
§Ú¦b¥t ...
seer_et µoªí©ó 2013-4-17 01:02
  1. Private Sub Worksheet_Calculate()

  2. Application.ScreenUpdating = False          '< ====  ­n©ñ³oÃä~~~  Ãö³¬¿Ã¹õ§ó·s~~ K1

  3. If Time < TimeValue("8:45:00") Or Time > TimeValue("13:45:00") Then Exit Sub



  4. On Error Resume Next

  5. If Application.WorksheetFunction.IsNumber(Cells(201, 5)) Then    '´Á³f¸ê®Æ§ó·s

  6. If Cells(201, 2) = 0 Then Cells(201, 2) = Cells(2, 38)

  7. If Cells(201, 3) = 0 Then Cells(201, 3) = Cells(201, 5)

  8. '

  9. '

  10. '

  11. End If

  12. Application.ScreenUpdating = True          '< ====  ­n©ñ³oÃä~~~  ¶}±Ò¿Ã¹õ§ó·s~~K2

  13. End Sub
½Æ»s¥N½X
©ñK1©MK2 ªº§@¥Î ¬Oµ¥¨ìµ{¦¡¶]§¹³Ì·sµ²ªG¤~·|Åã¥Ü
¦Ó¤£·|¤¤³~¤@ª½§ó·s

K1 ©M K2 ¬°·f°tªº...
¦pªG¥u©ñK1 ¤£©ñK2.. ¨º¦³¥i¯à§A¶]§¹«á¡A³Ì·sµ²ªG¤£·|Åã¥Ü
¦pªG¥u©ñK2 ¤£©ñK1.. ¨ºÁÙ©ñK2°µÔ££¿£½

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

·Ó±z»¡ªº°µ¤F,¨S¦³§ïµ½,ÁÙ¬O·|°{
§Ú¬Ý¤j·§¥u¯à±N´NµÛ¤F...

·PÁ±z¶O¤ß

TOP

        ÀR«ä¦Û¦b : ¤H¥Í¨S¦³©Ò¦³Åv¡A¥u¦³¥Í©Rªº¨Ï¥ÎÅv¡C
ªð¦^¦Cªí ¤W¤@¥DÃD