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

[µo°Ý] ¦p¦ó±NWorksheet_ChangeªºÅܼƫŧi¡A§ï¦¨¦b¤@¯ë¼Ò²Õ¨Ï¥Î?

¦^´_  GBKEE
ªþ¤WÀɮסA¦A½ÐGBKEEª©¤j¬Ý¬Ý
°Ñ¦Ò¸ê®Æ®w.rar (992.52 KB)

TOP

¦^´_ 6# GBKEE

GBKEEª©¤j¡A·Q¦A¦¸³Â·Ð¤@¤U
¦]¬°§Úªºªí¹F¦n¹³¦³°ÝÃD..

§Ú·Qª½±µ±N1¼Óªºµ{¦¡½X
¤£¦bWorksheet¤º½s¼g¡A¦Ó¬O½s¼g¦bModule

²{¦bªº°ÝÃD¬O¥u­n¤@§ïÅÜÀx¦s®æ[A5]ªº¤º®e¡A´N·|¦Û°Ê°õ¦æ1¼Óªºµ{¦¡½X
§Ú·Q§ï¦¨¤â°Ê¤è¦¡°õ¦æ¡A¤â°Ê°õ¦æ Sub ¬d¸ßªí®æ() ¥¨¶°¤~·|°õ¦æ

¤£¾å±o³o¼Ë¸Ñ¡AGBKEEª©¤j¬O§_¤ñ¸û¦n²z¸Ñ
·PÁ±z¦A¦¸ªº¦^ÂÐ

TOP

¦^´_ 5# jackson7015
¬O³o¼Ë¶Ü?
  1. Sub ²M°£¬d¸ßªí®æ()
  2. ' ²M°£¬d¸ßªí®æ ¥¨¶°
  3.     With Sheets("¬d¸ß¥Îªí³æ")
  4.         .Range("$B5:$BR301").ClearContents
  5.         .Range("A5").Select
  6.         Run "Module1.Worksheet_Change", .[A5]
  7.         '§A¤w±N Worksheet_Changeªº½s¼g¡A§ï¦¨¦bModule1¼Ò²Õ
  8.     End With
  9. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 4# GBKEE

GBKEEª©¤j¡A¹ï¤£°_¡A¨S¦³³¯­z²M·¡»Ý­nªº³¡¤À

«Å§i¦bWorksheet_Changeªº³¡¤À¡A·|¤U¦Cªº¥¨¶°±Ò°Ê¡AÀx¦s®æ¥u­n¤@ÅÜ°Ê¡A´N·|¦Û°Ê±Ò°Ê«Å§i³¡¤À
  1. Sub ²M°£¬d¸ßªí®æ()
  2. ' ²M°£¬d¸ßªí®æ ¥¨¶°
  3. With Sheets("¬d¸ß¥Îªí³æ")
  4.     Range("$B5:$BR301").Select
  5.     Selection.ClearContents
  6.     Range("A5").Select
  7.     End With
  8. End Sub
½Æ»s¥N½X
§Ú·Q§ï¦¨¥u¥Î¥¨¶°¤â°Ê¥h·j¯Á¡A³o¼Ë¤~¤£·|¦³Àx¦s®æ¦³Åܰʪº®É­Ô¡A´N±Ò°ÊWorksheet_Changeªº³¡¤À
¬O§_¯à±NWorksheet_Changeµ{¦¡½X¡A§ï¦¨¦bModule1¼Ò²Õªº½sµ{
¦Û¤v¬ã¨s¤F´X¤Ñ¡AÁÙ¬O¤£·|§â¦bWorksheet_Changeªº½s¼g¡A§ï¦¨¦bModule1¼Ò²Õ¤¤...

¦Û¤v¸ê½è·M¶w¡A·Q³Â·ÐGBKEEª©¤j¯à§_À°¦£­×¥¿½s¼g
·PÁ¤£ºÉ..

TOP

¦^´_ 3# jackson7015
§A¤£¬O­n¦b¨ä¥Lªº¥¨¶°¤¤,°õ¦æ³oµ{¦¡½X,¨Ó°õ¦æSheet1(¬d¸ß¥Îªí³æ)ªºWorksheet_Change¨Æ¥óµ{¦¡¶Ü?
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 2# GBKEE

GBKEEª©¤j±z¦n¡F
½Ð°Ý¬O§_¥u·s¼W¤@²Õ¦¹¥¨¶°±N­ì¥»ªºÅܼƫŧi¾É¤J¡AµM«á¦A±N±zªº«Å§i©ñ¨ìSHEET1(¬d¸ß¥Îªí³æ)ªºWorksheet_Change¤º?

¦ý¬O§Ú¦p¦¹°µ·|«Å§i¿ù»~
¤£¾å±o¬O­þ­Ó¨BÆJ¿ù»~¤F?

·PÁÂGBKEEª©¤jªº¦^ÂÐ

TOP

¦^´_ 1# jackson7015

SHEET1ªºWorksheet_Change ¨Æ¥ó
  1. Run "SHEET1.Worksheet_Change", Sheet1.[A5]
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : ¨C¤ÑµL©Ò¨Æ¨Æ¡A¬O¤H¥Íªº®ø¶OªÌ¡A¿n·¥¡B¦³¥Î¤~¬O¤H¥Íªº³Ð³yªÌ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD