¡mµo°Ý¡nvba-¦W³æ¤ñ¹ï¬Û²Å¦X¦^¼g¸ê®Æ
- ©«¤l
- 77
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 110
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2013-7-14
- ³Ì«áµn¿ý
- 2018-10-3
|
¡mµo°Ý¡nvba-¦W³æ¤ñ¹ï¬Û²Å¦X¦^¼g¸ê®Æ
½Ð±Ð¦U¦ì°ª¤â¡AÃö©ó¤ñ¹ï¦W³æªºvba¼gªk¡A¥un²Å¦X¡m¸ê®Æ¨Ó·½¡nªºAÄæ¦ì²Å¦X¡m¦W³æ¡nºP¶ªº¤H¦W¡A§Y±N¯S©wªºÄæ¦ì¦^¼g¦b¥t¤@Ó¤u§@¶¡]¤ñ¹ï«á¸ê®Æ¡^¡A
¥Ñ©ó¸ê®Æ¨Ó·½¨C¤é·|¦³¼Æ¤dµ§¡A©Ò¥H¡A§Ú¼g¤F²³æªºµ{¦¡½X«á¡A³q±`³£nRUN«Ü¤[~¤£ª¾¹D¦³¤°»ò¤èªk¥i¥H¦A§Ö¨Ç¡I
Sub ¤ñ¹ï¦W³æ()
Sheets("¤ñ¹ï«á¸ê®Æ").Select
Cells.Clear
Sheets("¸ê®Æ¨Ó·½").Select
k = Sheets("¸ê®Æ¨Ó·½").Range("a65536").End(xlUp).Row
p = Sheets("¦W³æ").Range("a65536").End(xlUp).Row
Sheets("¤ñ¹ï«á¸ê®Æ").Cells(1, 1).Value = Sheets("¸ê®Æ¨Ó·½").Cells(1, 1)
Sheets("¤ñ¹ï«á¸ê®Æ").Cells(1, 4).Value = Sheets("¸ê®Æ¨Ó·½").Cells(1, 3)
Sheets("¤ñ¹ï«á¸ê®Æ").Cells(1, 5).Value = Sheets("¸ê®Æ¨Ó·½").Cells(1, 4)
c = 2
For n = 2 To k
For m = 1 To p
If Sheets("¸ê®Æ¨Ó·½").Cells(n, 1) = Sheets("¦W³æ").Cells(m, 1) Then
Sheets("¤ñ¹ï«á¸ê®Æ").Cells(c, 1).Value = Sheets("¸ê®Æ¨Ó·½").Cells(n, 1)
Sheets("¤ñ¹ï«á¸ê®Æ").Cells(c, 3).Value = Sheets("¸ê®Æ¨Ó·½").Cells(n, 3)
Sheets("¤ñ¹ï«á¸ê®Æ").Cells(c, 4).Value = Sheets("¸ê®Æ¨Ó·½").Cells(n, 4)
c = c + 1
End If
Next
Next
End Sub |
-
-
Book1.rar
(1.65 KB)
-
-
Book1.rar
(1.65 KB)
|
·s¤H¤@ªT
|
|
|
|
|
- ©«¤l
- 522
- ¥DÃD
- 36
- ºëµØ
- 1
- ¿n¤À
- 603
- ÂI¦W
- 0
- §@·~¨t²Î
- win xp sp3
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-12-13
- ³Ì«áµn¿ý
- 2021-7-11
|
¦^´_ 21# GBKEE
¨S¿ù, §ï¶i¤¤.
ÁÂÁÂG¤j¦A¤T«ü¾É, ÁÂÁÂ!! |
|
|
|
|
|
|
- ©«¤l
- 522
- ¥DÃD
- 36
- ºëµØ
- 1
- ¿n¤À
- 603
- ÂI¦W
- 0
- §@·~¨t²Î
- win xp sp3
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-12-13
- ³Ì«áµn¿ý
- 2021-7-11
|
ÁÂÁÂGBKEE¤j, ¸Ô²Óªº¸Ñ»¡,
¤@¦V«Ü¤Ö¥ÎOption Explicit,
³ºµM³s³Ì°ò¥»ªº¸ê®Æ«¬ºA³£§Ñ¤F,
n¦n¦nª¦¤å¤F, ÁÂÁÂ. |
|
|
|
|
|
|
- ©«¤l
- 522
- ¥DÃD
- 36
- ºëµØ
- 1
- ¿n¤À
- 603
- ÂI¦W
- 0
- §@·~¨t²Î
- win xp sp3
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-12-13
- ³Ì«áµn¿ý
- 2021-7-11
|
¦^´_ 4# Hsieh
½Ð°Ý¤j¤j¡G
Dim A As Range, Rng As Range, Ar(), s&
¤¤ªº s& §@¥Î¬O¤°»ò?
(§Ú¥Î "Dim s&" ¯¸¤º·j´M¹L¤F, ·j¤£¨ì) |
|
|
|
|
|
|
- ©«¤l
- 82
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 112
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- WIN7
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-1-3
- ³Ì«áµn¿ý
- 2020-9-21
|
¦^´_ 6# GBKEE
½Ð°ÝG¤j
Ãö©ó¤U±¤T¥y¡A§Ú¦³ÂI¤£¸Ñ¡A¬°¤°»ò§ä¥X¬Û¦P¤H¦W¤§«á¡A»Ýn±N½d³òÅܦ¨¿ù»~ ¡A«o¤Sn¦b«á±§â¤H¦W¤S§ï¥¿½T©O....@@?
Rng(1).Replace Rng(2), "=gbkee", xlWhole '±N¬Û¦Pªº¤H¦W´À´«¬°¿ù»~È
With Rng(1).SpecialCells(xlCellTypeFormulas, xlErrors) '¯S®íªº½d³ò(¤½¦¡,¿ù»~È)
.Value = Rng(2) |
|
|
|
|
|
|
- ©«¤l
- 77
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 110
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2013-7-14
- ³Ì«áµn¿ý
- 2018-10-3
|
ÁÂÁª©¤j
§ÚÀ´§Ú¥d¦bþ¤F¡I |
|
·s¤H¤@ªT
|
|
|
|
|