¦U¦ì¤j¤j¦n,
¤p§Ì·M¬N·Q½Ð±Ð¤@¤U
§Úªºµ{¦¡Ä²µo³£¬O¼g¦b:
Private Sub Worksheet_Activate()
Private Sub Worksheet_Change(ByVal Target As Range)
©Î¬O¦b¤À¶¤ºªº«ö¶s
¦Ó©Ò¦³ªºµ{¦¡½X³£¬O°w¹ï¥»Àɮתº¤º®e§@Åܧó,§¹¥þ¨S¦³¥ô¦ó¤@Óµ{¦¡½X¬O¨Ï¥Î¨ìworkbooks(XX)ªº³oºØ«ü©wÀɮצWºÙ
¨Ò¦p:
r = Target(1).Row
Cells(r + 1, 12).Resize(2, 100).Value = Cells(r - 1, 12).Resize(2, 100).Value
name1 = Cells(r, 10).Value
dbs=sheets("AA").[a1].resize(5,5).value
[a2]=dbs(1,1)
¬°¦ó§Ú¶}µÛ¥t¥~¤@ÓexcelÀÉ®×,¨âÓÀɮצP®É§@·~ªº®ÉÔ(copy ¸ê®Æ¨ì¥t¤@ÓÀÉ®×)
·|µo¥Í°}¦C¶W¥X½d³òªº¿ù»~?¦³¬Æ»ò¥i¯à©Ê?
¦]¬°³o¬O§Ú¦P¨Æ§i¶D§Úªº¿ù»~,§Ú¨Ã¤£¾å±o¥L¿ù¦bþ¤@¦æªºµ{¦¡½X,©Ò¥H·Q°Ý¤@¤U¦³¥i¯à³o¼Ë¿ù¶Ü?
·Ó²z¨Ó»¡§Ú³£¨S«ü©w¬¡¶Ã¯,¦]¸Ó´N¥NªíµÛactivateªº¬¡¶Ã¯ªü? |