µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
Excelµ{¦¡°Ï
» »ù®æ¬ö¿ýªº»yªk¦³¼g¿ù¶Ü??
1
2
3
4
5
6
7
8
9
10
... 14
¤U¤@¶
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
»ù®æ¬ö¿ýªº»yªk¦³¼g¿ù¶Ü??
ÂŤÑÄR¦À
µoµu®ø®§
¥[¬°¦n¤Í
ÂŤÑÄR¦À
·í«eÂ÷½u
UID
12029
©«¤l
365
¥DÃD
40
ºëµØ
0
¿n¤À
406
ª÷¿ú
406
ÂI¦W
0
§@·~¨t²Î
Win 7
³nÅ骩¥»
OFFICE 2003
¾\ŪÅv
20
¦b½u®É¶¡
152 ¤p®É
µù¥U®É¶¡
2012-12-11
³Ì«áµn¿ý
2024-8-24
¤¤¾Ç¥Í
©«¤l
365
¥DÃD
40
ºëµØ
0
¿n¤À
406
ÂI¦W
0
§@·~¨t²Î
Win 7
³nÅ骩¥»
OFFICE 2003
¾\ŪÅv
20
µù¥U®É¶¡
2012-12-11
³Ì«áµn¿ý
2024-8-24
1
#
¸õÂà¨ì
»
˧Ǭݩ«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2016-3-17 23:18
|
¥u¬Ý¸Ó§@ªÌ
»ù®æ¬ö¿ýªº»yªk¦³¼g¿ù¶Ü??
¥»©«³Ì«á¥Ñ ÂŤÑÄR¦À ©ó 2016-3-17 23:24 ½s¿è
°£¿ù.rar
(36.73 KB)
¤U¸ü¦¸¼Æ: 16
2016-3-17 23:15
½Ð°Ýª©¤W¤j¤j¡A§Ú¤W¶Çªºªþ¥ó¬O¤@Ó»ù®æÅÜ°Ê´N°O¿ýªºVBA¡A¦ý¬O§Ú¦b°õ¦æªþ¥ó¸Ì±ªºMacro1®É¡AÀ³¸Ó¸ê®Æ·|§R±¼¡A¥i¬O°õ¦æ§¹«á¤£¦ý¤£·|§R±¼¡AÁÙ·|°¨¤W¥X²{«Ü¦h¤@¼Ëªº¸ê®Æ¡A½Ðª©¤W¤j¤jÀ°§Ú¬Ý¬Ý³oÓ»yªk¦³¬Æ»ò°ÝÃD¶Ü??
§Úµo²{§â®ÇÃ䪺¤½¦¡§R±¼´N¥¿±`¤F¡A³o¬O¤°»òì¦]??¥i¥Hק令»ù®æÅÜ°Ê´N¬ö¿ý¥B¦P®É«O¦³®ÇÃ䪺¤½¦¡¶Ü??
DDE¦pªG¨S¦³¥i¥H¥ÎÀH«Kªº¼Æ¦r¤U¥h´ú¸Õ
¼Ó¥D¼ö©«
½Ð°Ý¦¹¥\¯à¦³¨ä¥Lªº¤è¦¡¸Ñ¨M¶Ü?
Ãö©ó¸ê®Æ¤ñ¹ïªº¼gªk
´Æ¤âªºexcel¹Bºâ°ÝÃD¡A¦p¦ó§ïµ½??
½Ð±Ð¦p¦óקïµ{¦¡¨Ó´£°ª°õ¦æ®Ä²v©O?
³oºØ¨Ì®É¶¡¹Bºâªº¥¨¶°n¦p¦ó¼g??
¼x¨D°ª¤âÀ°§Ú¸Ñ¨M¤@¤U³oÓ°ÝÃD
Åܰʬö¿ýªºµ{¦¡
Ãö©ó©T©w®É¶¡¬ö¿ýªº×§ï
¦p¦ó¥h§äÂ÷¦Û¤v³ÌªñªºÈ?
½Ð°Ý¤j¤j¥X²{«½ÆªºÈn«ç»ò§ì¬Û¹ïÀ³ªºÈ
¦¬ÂÃ
¤À¨É
ã´£³¡ªL
µoµu®ø®§
¥[¬°¦n¤Í
ã´£³¡ªL
·í«eÂ÷½u
UID
13768
©«¤l
2834
¥DÃD
10
ºëµØ
0
¿n¤À
2890
ª÷¿ú
2890
ÂI¦W
0
§@·~¨t²Î
¡e²¤¡f
³nÅ骩¥»
¡e²¤¡f
¾\ŪÅv
100
©Ê§O
¨k
¨Ó¦Û
¡e²¤¡f
¦b½u®É¶¡
2108 ¤p®É
µù¥U®É¶¡
2013-5-13
³Ì«áµn¿ý
2024-11-27
ª©¥D
©«¤l
2834
¥DÃD
10
ºëµØ
0
¿n¤À
2890
ÂI¦W
0
§@·~¨t²Î
¡e²¤¡f
³nÅ骩¥»
¡e²¤¡f
¾\ŪÅv
100
©Ê§O
¨k
¨Ó¦Û
¡e²¤¡f
µù¥U®É¶¡
2013-5-13
³Ì«áµn¿ý
2024-11-27
2
#
µoªí©ó 2016-3-18 09:54
|
¥u¬Ý¸Ó§@ªÌ
http://forum.twbts.com/viewthread.php?tid=15062&highlight=
¥Î Worksheet_Calculate ¨Æ¥ó¡I
¬O¥i¥H¡A¦ý¦Ò¼{¼h±¸û¦h¡A¨Ò¦p·|²£¥Í¡e³sÂêIJ°Ê¡f¡An¤£¬O¦P¤@µ§¤º®e°O¿ý¦¨«Ü¦hµ§¡A
¤£µM¾ãÓÀÉ®×´N±¾±¼¡A±z¥²¶·¥h±±¨î¨Æ¥óµo¥Íªº®É¾÷¡A¦b¤U¸üªþÀɤ¤¦³Ó¨Ò¤l¡A¥i°Ñ¦Ò¡I
TOP
ÂŤÑÄR¦À
µoµu®ø®§
¥[¬°¦n¤Í
ÂŤÑÄR¦À
·í«eÂ÷½u
UID
12029
©«¤l
365
¥DÃD
40
ºëµØ
0
¿n¤À
406
ª÷¿ú
406
ÂI¦W
0
§@·~¨t²Î
Win 7
³nÅ骩¥»
OFFICE 2003
¾\ŪÅv
20
¦b½u®É¶¡
152 ¤p®É
µù¥U®É¶¡
2012-12-11
³Ì«áµn¿ý
2024-8-24
¤¤¾Ç¥Í
©«¤l
365
¥DÃD
40
ºëµØ
0
¿n¤À
406
ÂI¦W
0
§@·~¨t²Î
Win 7
³nÅ骩¥»
OFFICE 2003
¾\ŪÅv
20
µù¥U®É¶¡
2012-12-11
³Ì«áµn¿ý
2024-8-24
3
#
µoªí©ó 2016-3-18 22:42
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
2#
ã´£³¡ªL
¤j¤jÁÂÁ§Aªº¦n·N¡A¦ý§Ú¤£·|¼g¡A¥u·|²³æªº×§ï¡A¨S¦³½d¨Ò´N¨S¿ìªk¤F¡A¤£¹LÁÙ¬OÁÂÁ§A
TOP
c_c_lai
µoµu®ø®§
¥[¬°¦n¤Í
c_c_lai
·í«eÂ÷½u
UID
8671
©«¤l
2035
¥DÃD
24
ºëµØ
0
¿n¤À
2031
ª÷¿ú
2031
ÂI¦W
0
§@·~¨t²Î
Win7
³nÅ骩¥»
Office2010
¾\ŪÅv
100
©Ê§O
¨k
¦b½u®É¶¡
2394 ¤p®É
µù¥U®É¶¡
2012-3-22
³Ì«áµn¿ý
2024-2-1
³Õ¤h¯Z
©«¤l
2035
¥DÃD
24
ºëµØ
0
¿n¤À
2031
ÂI¦W
0
§@·~¨t²Î
Win7
³nÅ骩¥»
Office2010
¾\ŪÅv
100
©Ê§O
¨k
µù¥U®É¶¡
2012-3-22
³Ì«áµn¿ý
2024-2-1
4
#
µoªí©ó 2016-3-21 13:04
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
1#
ÂŤÑÄR¦À
§ï¥Î Change ¸Õ¸Õ¬Ý¡I
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$B$2" Then Call RecordPrice
End Sub
½Æ»s¥N½X
TOP
ÂŤÑÄR¦À
µoµu®ø®§
¥[¬°¦n¤Í
ÂŤÑÄR¦À
·í«eÂ÷½u
UID
12029
©«¤l
365
¥DÃD
40
ºëµØ
0
¿n¤À
406
ª÷¿ú
406
ÂI¦W
0
§@·~¨t²Î
Win 7
³nÅ骩¥»
OFFICE 2003
¾\ŪÅv
20
¦b½u®É¶¡
152 ¤p®É
µù¥U®É¶¡
2012-12-11
³Ì«áµn¿ý
2024-8-24
¤¤¾Ç¥Í
©«¤l
365
¥DÃD
40
ºëµØ
0
¿n¤À
406
ÂI¦W
0
§@·~¨t²Î
Win 7
³nÅ骩¥»
OFFICE 2003
¾\ŪÅv
20
µù¥U®É¶¡
2012-12-11
³Ì«áµn¿ý
2024-8-24
5
#
µoªí©ó 2016-3-21 22:17
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
4#
c_c_lai
¦n¡AÁÂÁÂC¤j
TOP
ÂŤÑÄR¦À
µoµu®ø®§
¥[¬°¦n¤Í
ÂŤÑÄR¦À
·í«eÂ÷½u
UID
12029
©«¤l
365
¥DÃD
40
ºëµØ
0
¿n¤À
406
ª÷¿ú
406
ÂI¦W
0
§@·~¨t²Î
Win 7
³nÅ骩¥»
OFFICE 2003
¾\ŪÅv
20
¦b½u®É¶¡
152 ¤p®É
µù¥U®É¶¡
2012-12-11
³Ì«áµn¿ý
2024-8-24
¤¤¾Ç¥Í
©«¤l
365
¥DÃD
40
ºëµØ
0
¿n¤À
406
ÂI¦W
0
§@·~¨t²Î
Win 7
³nÅ骩¥»
OFFICE 2003
¾\ŪÅv
20
µù¥U®É¶¡
2012-12-11
³Ì«áµn¿ý
2024-8-24
6
#
µoªí©ó 2016-3-21 23:00
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
4#
c_c_lai
C¤j½Ð±Ð¤@¤U³o¬qµ{¦¡½Xn¥[¦bþ¸Ì??
TOP
c_c_lai
µoµu®ø®§
¥[¬°¦n¤Í
c_c_lai
·í«eÂ÷½u
UID
8671
©«¤l
2035
¥DÃD
24
ºëµØ
0
¿n¤À
2031
ª÷¿ú
2031
ÂI¦W
0
§@·~¨t²Î
Win7
³nÅ骩¥»
Office2010
¾\ŪÅv
100
©Ê§O
¨k
¦b½u®É¶¡
2394 ¤p®É
µù¥U®É¶¡
2012-3-22
³Ì«áµn¿ý
2024-2-1
³Õ¤h¯Z
©«¤l
2035
¥DÃD
24
ºëµØ
0
¿n¤À
2031
ÂI¦W
0
§@·~¨t²Î
Win7
³nÅ骩¥»
Office2010
¾\ŪÅv
100
©Ê§O
¨k
µù¥U®É¶¡
2012-3-22
³Ì«áµn¿ý
2024-2-1
7
#
µoªí©ó 2016-3-22 06:48
|
¥u¬Ý¸Ó§@ªÌ
¥»©«³Ì«á¥Ñ c_c_lai ©ó 2016-3-22 06:53 ½s¿è
¦^´_
6#
ÂŤÑÄR¦À
¨ú¥N§Aì¥ý Sheets("RTD") ¸Ìªº Worksheet_Calculate()¡C
¤S¡A§A ¥Ø«e "¼Ò²Õ1" RecordPrice ¸Ìªº For ~ Next ¹Bºâ¦¡¥i¥H
¥Î¤U¦C¤è¦¡¨ú¥N¡A¥H¸`¬Ù³B¸Ì®É¶¡¡G
' For I = 1 To 3
' Cells(WR, I) = Cells(2, I)
' Next I
Cells(WR, 1).Resize(, 3) = [A2:C2].Value
½Æ»s¥N½X
TOP
ÂŤÑÄR¦À
µoµu®ø®§
¥[¬°¦n¤Í
ÂŤÑÄR¦À
·í«eÂ÷½u
UID
12029
©«¤l
365
¥DÃD
40
ºëµØ
0
¿n¤À
406
ª÷¿ú
406
ÂI¦W
0
§@·~¨t²Î
Win 7
³nÅ骩¥»
OFFICE 2003
¾\ŪÅv
20
¦b½u®É¶¡
152 ¤p®É
µù¥U®É¶¡
2012-12-11
³Ì«áµn¿ý
2024-8-24
¤¤¾Ç¥Í
©«¤l
365
¥DÃD
40
ºëµØ
0
¿n¤À
406
ÂI¦W
0
§@·~¨t²Î
Win 7
³nÅ骩¥»
OFFICE 2003
¾\ŪÅv
20
µù¥U®É¶¡
2012-12-11
³Ì«áµn¿ý
2024-8-24
8
#
µoªí©ó 2016-3-22 08:26
|
¥u¬Ý¸Ó§@ªÌ
¥»©«³Ì«á¥Ñ ÂŤÑÄR¦À ©ó 2016-3-22 08:32 ½s¿è
¦^´_
7#
c_c_lai
¤U¸ü
(70.28 KB)
2016-3-22 08:26
¤U¸ü
(70.88 KB)
2016-3-22 08:26
1. C¤j§Ú¤£¤ÓÀ´¡A¬°¤°»ò¦h¤FCells(WR, 1).Resize(, 3) = [A2:C2].Value³o¤@¦æµ{¦¡½X°õ¦æ¼Æ«×·|¥[§Ö??
2.¥t¥~¦A½Ð±Ð§A¤@Ó°ÝÃD¡A¦pªG¥Ø«e¬O±NA2-C2ªº¸ê®Æ©¹¤U¼g¡A§ï¦¨§â¸ê®Æ©ñ¦bC2-E2µM«á©¹¤U¼gn«ç»ò§ïµ{¦¡½X??
´N¬O±N¹Ï¤@§ï¦¨¹Ï¤G¡A¤W¹Ï¤£¬O§ï¦nªº¡A¬O§Ú¥Î©Ôªº
3.¥H¤U¬OJ¤j¼gªº¡A½Ð±ÐC¤j¥ÎExcel.Application.EnableEvents ¸ò§Aªº¥ÎchangeþºØ¤ñ¸û§Ö??
Excel.Application.EnableEvents = 0
WR = Range("A1").End(xlDown).Row + 1
'ActiveWindow.ScrollRow = WR - 5 '¥uÅã¥Ü³Ì·s´Xµ§¸ê®Æ
If (WR = 3) Or _
(Range("B" & WR - 1) <> Range("B2")) Then 'Á`¶q¦³²§°Ê®É¤~°O¿ý
For I = 1 To 3
Cells(WR, I) = Cells(2, I)
Next
End If
Excel.Application.EnableEvents = 1
TOP
c_c_lai
µoµu®ø®§
¥[¬°¦n¤Í
c_c_lai
·í«eÂ÷½u
UID
8671
©«¤l
2035
¥DÃD
24
ºëµØ
0
¿n¤À
2031
ª÷¿ú
2031
ÂI¦W
0
§@·~¨t²Î
Win7
³nÅ骩¥»
Office2010
¾\ŪÅv
100
©Ê§O
¨k
¦b½u®É¶¡
2394 ¤p®É
µù¥U®É¶¡
2012-3-22
³Ì«áµn¿ý
2024-2-1
³Õ¤h¯Z
©«¤l
2035
¥DÃD
24
ºëµØ
0
¿n¤À
2031
ÂI¦W
0
§@·~¨t²Î
Win7
³nÅ骩¥»
Office2010
¾\ŪÅv
100
©Ê§O
¨k
µù¥U®É¶¡
2012-3-22
³Ì«áµn¿ý
2024-2-1
9
#
µoªí©ó 2016-3-22 12:04
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
8#
ÂŤÑÄR¦À
¥ý¦^µª§A²Ä¤@Ó°ÝÃD¡G
If (WR = 3) Or _
(Range("B" & WR - 1) <> Range("B2")) Then ' Á`¶q¦³²§°Ê®É¤~°O¿ý
For I = 1 To 3
Cells(WR, I) = Cells(2, I)
Next
End If
½Æ»s¥N½X
±q For ~ Next §ï¬°¤U¦C¤@¦¸¥\¤Ò´N¶ñ¤JÈ (Assign Value) ªº¤è¦¡¡A
§A»¡¬OþÓ³B²z¸û§Ö³t¡H
If (WR = 3) Or _
(Range("B" & WR - 1) <> Range("B2")) Then ' Á`¶q¦³²§°Ê®É¤~°O¿ý
Cells(WR, 1).Resize(, 3) = [A2:C2].Value
End If
½Æ»s¥N½X
TOP
ÂŤÑÄR¦À
µoµu®ø®§
¥[¬°¦n¤Í
ÂŤÑÄR¦À
·í«eÂ÷½u
UID
12029
©«¤l
365
¥DÃD
40
ºëµØ
0
¿n¤À
406
ª÷¿ú
406
ÂI¦W
0
§@·~¨t²Î
Win 7
³nÅ骩¥»
OFFICE 2003
¾\ŪÅv
20
¦b½u®É¶¡
152 ¤p®É
µù¥U®É¶¡
2012-12-11
³Ì«áµn¿ý
2024-8-24
¤¤¾Ç¥Í
©«¤l
365
¥DÃD
40
ºëµØ
0
¿n¤À
406
ÂI¦W
0
§@·~¨t²Î
Win 7
³nÅ骩¥»
OFFICE 2003
¾\ŪÅv
20
µù¥U®É¶¡
2012-12-11
³Ì«áµn¿ý
2024-8-24
10
#
µoªí©ó 2016-3-22 12:10
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
9#
c_c_lai
C¤j§Ú·|¿ù·N¤F¡Aèè¨S¬Ý¨ì§A«e±¦³ '¡A§âµ{¦¡mark±¼©Ò¥H§Ú¤~ı±o©_©Ç¡A¬Ý¨ì«á´N¨S°ÝÃD¤F
TOP
ÀR«ä¦Û¦b :
ÁÀ¨¥¹³¤@¦·²±¶}ªºÂAªá¡A¥~ªí¬üÄR¡A¥Í©Rµu¼È¡C
1
2
3
4
5
6
7
8
9
10
... 14
¤U¤@¶
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·