Ãö©ó¼g¥¨¶°µ{¦¡¦Û°Ê¿z¿ï§PÂ_°Ïªº¥N½X½Æ»s¦¨¸Ó¥N½X³æ¿W¬¡¶Ã¯
- ©«¤l
- 44
- ¥DÃD
- 14
- ºëµØ
- 0
- ¿n¤À
- 58
- ÂI¦W
- 0
- §@·~¨t²Î
- Window 8
- ³nÅ骩¥»
- 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-8-15
- ³Ì«áµn¿ý
- 2017-4-18
|
Ãö©ó¼g¥¨¶°µ{¦¡¦Û°Ê¿z¿ï§PÂ_°Ïªº¥N½X½Æ»s¦¨¸Ó¥N½X³æ¿W¬¡¶Ã¯
¦U¦ì¤j¤j¦n, ½d¨Ò¦pªþ¥ó
»¡©ú¤@¤U
¦³¤@Ó·JÁ`ªíªº¬¡¶Ã¯¡A¤pªº·Qn³z¹L¥¨¶°¦Û°Ê¤Àªù§OÃþ¨ì¦U¦Ûªº¬¡¶Ã¯¡C
PS.ªþ¥ó¤¤¡AA,B,Cªº¬¡¶Ã¯¬O°õ¦æ¥¨¶°«á¡A²£¥Í¥X¨Óªºµ²ªG¡C
ÁÂÁ¦U¦ì¡C |
-
-
½d¨Ò.rar
(7.54 KB)
|
|
|
|
|
|
- ©«¤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
|
¸Õ¸Õ¬Ý:- '½Ð¶K¨ì "·JÁ`ªí"
- Sub ·J¤JÁ`ªí()
- Dim sh1 As Worksheet, sh2 As Worksheet
- Dim Lst1 As Integer, Lst2 As Integer
- Dim I As Integer, J As Integer
- Set sh1 = Sheets("·JÁ`ªí")
- For J = 1 To Sheets.Count
- If Sheets(J).Name <> "·JÁ`ªí" Then
- Set sh2 = Sheets(J)
- Lst1 = sh1.[B65536].End(xlUp).Row
- Lst2 = sh2.[B65536].End(xlUp).Row
- For I = 5 To Lst2
- sh2.Cells(I, 2).Resize(1, 4).Copy sh1.Cells(Lst1 + I - 4, 2)
- Next
- End If
- Next
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 44
- ¥DÃD
- 14
- ºëµØ
- 0
- ¿n¤À
- 58
- ÂI¦W
- 0
- §@·~¨t²Î
- Window 8
- ³nÅ骩¥»
- 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-8-15
- ³Ì«áµn¿ý
- 2017-4-18
|
to yen956 ¤j¤j¡A§Ú°õ¦æ«á¡AµL¤ÏÀ³»¡¡A§Ú¤w¶K¨ì·JÁ`ªíªº¥¨¶°¤º¡C |
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 3# ¾Ç¨ì¦Ñ¦º
¥H¤U¾Þ§@«Y¥H 2003¬°¨Ò
§Aªºª©¥»½Ð¦Û¦æ°Ñ¦Ò¡G
1. «ö Alt+F11
2. Double Click sheet("·JÁ`ªí")
3. ¶K¤W VBA Code
4. ÂI¥¨¶° Sub()¡Kend
5. «ö F5
|
|
|
|
|
|
|
- ©«¤l
- 44
- ¥DÃD
- 14
- ºëµØ
- 0
- ¿n¤À
- 58
- ÂI¦W
- 0
- §@·~¨t²Î
- Window 8
- ³nÅ骩¥»
- 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-8-15
- ³Ì«áµn¿ý
- 2017-4-18
|
yen956¤j¤j ·PÁ §Ú¦¨¥\ªº°õ¦æ¤F¥¨¶°¡A¦ý¬O¼g¤Ï¤F@o@ §Ú·Qnªº¬O·JÁ`ªíªº¸ê®Æ¦Û°Ê¤ÀÃþ¦¨A,B,C...... ~O~ |
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 5# ¾Ç¨ì¦Ñ¦º
'·J¥X¨ì¤À¶
'¥ý¨M±ø¥ó:"·JÁ`ªí"ÄæB¤¤ªºsheets¥²¶·¦s¦b
Sub ·J¥X¨ì¤À¶()
Dim sh1 As Worksheet, sh2 As Worksheet
Dim Lst1 As Integer, Lst2 As Integer
Dim I As Integer, J As Integer, shName As String
Set sh1 = Sheets("·JÁ`ªí")
Lst1 = sh1.[B65536].End(xlUp).Row
For I = 5 To Lst1
shName = sh1.Cells(I, 2)
For J = 1 To Sheets.Count
If Sheets(J).Name = shName Then
Lst2 = Sheets(J).[B65536].End(xlUp).Row + 1
If Lst2 < 5 Then Lst2 = 5
sh1.Cells(I, 2).Resize(1, 4).Copy Sheets(J).Cells(Lst2, 2)
Exit For
End If
Next
Next
End Sub |
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 5# ¾Ç¨ì¦Ñ¦º
®M¥Î yen956 ¤j¤jªº²{¦¨µ{¦¡¡G- ' ½Ð¶K¨ì "·JÁ`ªí"
- Sub ·J¤JÁ`ªí()
- Dim sh1 As Worksheet, sh2 As Worksheet
- Dim Lst1 As Integer
- Dim J As Integer
-
- Set sh1 = Sheets("·JÁ`ªí")
- sh1.Cells.Clear
-
- For J = 1 To Sheets.Count
- If Sheets(J).Name <> "·JÁ`ªí" Then
- Set sh2 = Sheets(J)
- Lst1 = sh1.[B65536].End(xlUp).Row + 1
- ' sh2.UsedRange.Address = "$B$4:$E$7" : String
- ' sh2.UsedRange.Offset(1, 0).Address = "$B$5:$E$8" : String
- sh2.UsedRange.Offset(1, 0).Copy sh1.Cells(Lst1, 2)
- End If
- Next
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤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
|
¥»©«³Ì«á¥Ñ yen956 ©ó 2016-2-20 09:26 ½s¿è
¦^´_ 7# c_c_lai
ÁÂÁÂc¤jªº«ü¾É!!
§ï¥Îc¤jªº UsedRange ¥i§å¦¸¶K¤W, ªGµM²±¶¦h¤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
|
'Y¸ê®ÆÃe¤j, ·J¥X¸ê®Æ¨ì¤À¶, ¥i§ï¥Î¥»VBA, ·|§Ö«Ü¦h
'¥ý¨M±ø¥ó:"·JÁ`ªí"ÄæB¤¤ªº¤u§@ªí¦WºÙªºsheets¥²¶·¦s¦b
'¥B¤w«ö¤u§@ªí¦WºÙ±Æ§Ç
Sub ·J¥X¨ì¤À¶2()
Dim sh1 As Worksheet
Dim Lst1 As Integer, shNameCnt As Integer
Dim I As Integer
Set sh1 = Sheets("·JÁ`ªí")
Lst1 = sh1.[B65536].End(xlUp).Row
I = 5
Do
shName = sh1.Cells(I, 2)
sh1.[C3].FormulaR1C1 = "=COUNTIF(C[-1],""=""&R" & I & "C[-1])" 'pºâ¦P¦Wªº¤u§@ªí¦³´XÓ
sh1.Cells(I, 2).Resize(sh1.[C3], 4).Copy Sheets(shName).[B5] '§å¦¸½Æ»s
I = I + sh1.[C3]
Loop Until I > Lst1
End Sub |
|
|
|
|
|
|
- ©«¤l
- 44
- ¥DÃD
- 14
- ºëµØ
- 0
- ¿n¤À
- 58
- ÂI¦W
- 0
- §@·~¨t²Î
- Window 8
- ³nÅ骩¥»
- 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-8-15
- ³Ì«áµn¿ý
- 2017-4-18
|
~¤pªº·PÁ¨â¦ì¤j¤j «üÂI «ùÄòÆp¬ãVBAªººëµØ©Ò¦b ¯à¤O¤WÁÙ¦bªì¾Ç´Á¡A¥[¿§V¤O¤¤! |
|
|
|
|
|
|