¦p¦ó³]©w½Æ»s°j°ésheet1½Æ»sÀx¦s®æ¦Üsheet2©T©w¦ì¸m????
- ©«¤l
- 9
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 50
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-9-13
- ³Ì«áµn¿ý
- 2023-10-10
|
¦p¦ó³]©w½Æ»s°j°ésheet1½Æ»sÀx¦s®æ¦Üsheet2©T©w¦ì¸m????
|
|
|
|
|
|
- ©«¤l
- 552
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 578
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-2-8
- ³Ì«áµn¿ý
- 2024-7-9
|
¦^´_ 1# poke0817
¬O³o¼Ë¶Ü¡H
§Ú§â¼ÐÅҼ˦¡§ï¨ìSheet3¥HÀ³²Ä2Ó°ÝÃD- Public Sub ex()
- Dim rng As Range, r%, c%
- Sheet3.Range("a1:h" & Sheet3.Cells(Rows.Count, 1).End(xlUp).Row).Delete
- r = 1
- c = 1
- For i = 1 To 8 Step 2
- Sheet3.Columns(i).ColumnWidth = 9.65
- Sheet3.Columns(i + 1).ColumnWidth = 18.13
- Next
- For Each rng In Sheet1.Range("a2:a" & Sheet1.Cells(Rows.Count, 1).End(xlUp).Row)
- With Sheet3
- If c < 8 Then
- With .Range(.Cells(r, c), .Cells(r + 2, c + 1))
- .HorizontalAlignment = xlCenter
- .VerticalAlignment = xlCenter
- .WrapText = False
- .Orientation = 0
- .AddIndent = False
- .IndentLevel = 0
- .ShrinkToFit = True
- .ReadingOrder = xlContext
- .Borders(xlDiagonalDown).LineStyle = xlNone
- .Borders(xlDiagonalUp).LineStyle = xlNone
- With .Borders(xlEdgeLeft)
- .LineStyle = xlContinuous
- .ColorIndex = xlAutomatic
- .TintAndShade = 0
- .Weight = xlMedium
- End With
- With .Borders(xlEdgeTop)
- .LineStyle = xlContinuous
- .ColorIndex = xlAutomatic
- .TintAndShade = 0
- .Weight = xlMedium
- End With
- With .Borders(xlEdgeBottom)
- .LineStyle = xlContinuous
- .ColorIndex = xlAutomatic
- .TintAndShade = 0
- .Weight = xlMedium
- End With
- With .Borders(xlEdgeRight)
- .LineStyle = xlContinuous
- .ColorIndex = xlAutomatic
- .TintAndShade = 0
- .Weight = xlMedium
- End With
- With .Borders(xlInsideVertical)
- .LineStyle = xlContinuous
- .ColorIndex = xlAutomatic
- .TintAndShade = 0
- .Weight = xlThin
- End With
- With .Borders(xlInsideHorizontal)
- .LineStyle = xlContinuous
- .ColorIndex = xlAutomatic
- .TintAndShade = 0
- .Weight = xlThin
- End With
- With .Font
- .Name = "¼Ð·¢Åé"
- End With
- End With
- With .Range(.Cells(r, c), .Cells(r, c + 1))
- .MergeCells = True
- .Value = "XX¥ø·~ªÑ¥÷¦³¤½¥q"
- With .Font
- .Size = 14
- End With
- End With
- .Cells(r + 1, c) = "°]²£½s½X"
- .Cells(r + 1, c + 1) = rng
- .Cells(r + 2, c) = "«~¦W"
- .Cells(r + 2, c + 1) = rng.Offset(, 1)
- c = c + 2
- End If
- If c > 8 Then
- c = 1
- r = r + 3
- End If
- End With
- Next
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 2836
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2892
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-30
|
µ{¦¡ºc·Q¡G
¢°¡D¡e¼ÐÅÒ²M³æ¡f¤u§@ªí«e¢²¦C¡A¨Æ¥ý³]©w¦nªí®æ¼Ë¦¡¡]¥u¦³¼ÐÃD¤å¦r¡A¥¼¶ñ¤º®e¡^¡A
¡@¡@¤@±Æn´XÄæ¡]µø¦C¦L¤j¤p¡^¡A¥i¥Ñ¦¹¨M©w¡A¶K¤J¸ê®Æ®É¡A§Y¥H¦¹¬°¼Ë¥»©¹¥k©¹¤UÂà¶K¡C
¢±¡D¶K¤J¸ê®Æ®É¡A±q²Ä¢³¦C¶}©l¡A¼Ë¦¡´N¥Î«e¢²¦C¬°¨Ó·½¡A¦A³v¤@¶ñ¤J¸ê®Æ¡A
¡@¡@³B²z§¹¦¨«á¡A¦A§R¥h«e¢²¦C¡C
¢²¡D°õ¦æ¡e²M°£¡f¡A§Y¥i«ì´_쪬¡]º¸«á¤´¥i«·s§ó§ï¼Ë¦¡¡Aµ{¦¡¥u¨Ì¼Ë½Æ»s¡^- Sub Âà¥X()
- Dim R&, xR As Range, xH As Range, xE As Range
- Call ²M°£
- R = [¼ÐÅÒ²M³æ!A65536].End(xlUp).Row
- If R < 2 Then Exit Sub
- Set xH = [¼ÐÅҼ˦¡!A4]: Set xE = xH
-
- For Each xR In [¼ÐÅÒ²M³æ!A2].Resize(R - 1)
- If xH = "" Then [¼ÐÅҼ˦¡!1:3].Copy xE
- xE(2, 2) = xR
- xE(3, 2) = xR(1, 2)
- Set xE = xE(1, 3)
- If xE = "" Then Set xH = xH(4): Set xE = xH
- Next
- [¼ÐÅҼ˦¡!1:3].EntireRow.Delete
- Application.Goto [¼ÐÅҼ˦¡!A1]
- End Sub
½Æ»s¥N½X ¡@
ªþ¥ó¤U¸ü¡G
°]²£¼ÐÅÒ»s§@v01.rar (16.22 KB)
¡@
¡@ |
|
|
|
|
|
|
- ©«¤l
- 9
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 50
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-9-13
- ³Ì«áµn¿ý
- 2023-10-10
|
¦^´_ 2# lpk187
¤j¤jªGµM¼F®`¡A¦ý«Ü¦n©_¡A§Ú¦b¤½¥q´ú¸Õªº®ÉÔ¤½¥q¬O2003ª©¥»¡A«o¤@ª½¥X¿ù»~¡A¦]¤£¤F¸Ñ¦U¶µ¦¸ªº³]©w©Ò¥H¨S¦b¹Á¸Õקï¡A¦^¨ì®a¦b´ú¸Õ¤@¦¸¡A©~µM¥i¥H!!!!!!
³o¬O¦³ª©¥»¶Ü??? |
|
|
|
|
|
|
- ©«¤l
- 9
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 50
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-9-13
- ³Ì«áµn¿ý
- 2023-10-10
|
¦^´_ 3# ã´£³¡ªL
ª©¤j¡A¤µ¤Ñ¦³´ú¸Õ±z¼gªº¡A¤@¶}©l¥X²{¿ù»~¡A±NCall ²M°£(³o¥X²{¿ù»~¡A§R°£«á´N¥i¥H°õ¦æ¤F)¡A·PÁ°Õ!
¦ý¦³Ó°ÝÃD¡A§Ú¦³¹Á¸Õ±N¤@Ó¼ÐÅҥΨâÓ°]²£½s¸¹¡A¦ýקï«á¤´¬O¤@Ó¤@Ó¸õ¦p¤U:
Sub 刴X()
Dim R&, xR As Range, xH As Range, xE As Range
R = [¼ÐÅÒ²M³æ!A65536].End(xlUp).Row
If R < 2 Then Exit Sub
Set xH = [¼ÐÅҼ˦¡!A4]: Set xE = xH
For Each xR In [¼ÐÅÒ²M³æ!A2].Resize(R - 1)
If xH = "" Then [¼ÐÅҼ˦¡!1:3].Copy xE
xE(2, 2) = xR(1)
xE(3, 2) = xR(2)
Set xE = xE(1, 3)
If xE = "" Then Set xH = xH(4): Set xE = xH
Next
[¼ÐÅҼ˦¡!1:3].EntireRow.Delete
Application.Goto [¼ÐÅҼ˦¡!A1]
End Sub |
|
|
|
|
|
|
- ©«¤l
- 9
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 50
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-9-13
- ³Ì«áµn¿ý
- 2023-10-10
|
¦^´_ 1# poke0817
·Q½Ð°Ý¡A¦pªG¦³¤@Ó²M³æ¡A¥i¬O¶·¹ïÀ³¤TºØ¼ÐÅÒ¡A
1¡B¨Ì¶µ¦¸1(²M³æ)¡AA~DªºÄæ¦ìfor ¼ÐÅҼ˦¡1(¹ïÀ³¸Ó²M³æªº®Æ¸¹¡B«~¦W¡B§å¸¹¡B²°¼Æ)¡A¦b¨Ì·Ó²M³æ(C7¶}©l)°ª«×±Æ¦C(C7¡BC8¡BC9¡BC10)¡Aª½¨ìCÄæ²M³æµ²§ô¡C
2¡B¨Ì¶µ¦¸1(²M³æ)¡AF~IªºÄæ¦ìfor ¼ÐÅҼ˦¡2(¹ïÀ³¸Ó²M³æªº®Æ¸¹¡B«~¦W¡B§å¸¹¡B²°¼Æ)¡A¦b¨Ì·Ó²M³æ(H7¶}©l)°ª«×±Æ¦C(B5¡BD5)¡Aª½¨ìCÄæ²M³æµ²§ô¡C(¼ÐÅÒ3ªº¤è¦¡À³¸Ó¸ò¦¹¤@¼Ë¡A¥u¬O¹ïÀ³ªº²M³æ°Ï°ì¤£¤@¼Ë)
¼ÐÅÒ§Ö§â§Ú·d¦º¤F¡A¬ã¨s¤£¥X©Ò¥HµM¨Ó.......¤§«e¿ý»s¥¨¶°¨ì²´ªá¡A¤S³Q¥DºÞ¥´ºj= =!!
¼ÐÅÒ»s§@.rar (20.99 KB)
|
|
|
|
|
|
|
- ©«¤l
- 2836
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2892
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-30
|
¦^´_ 5# poke0817
¤£¥i¨Ï¥Î¬O¦]¬°±z¡e¨S¦³¤U¸ü¡fªþÀÉ¡A¸Ô²Ó¬Ý¸Ì±ÁÙ¦³¤@Ó sub ²M°£() µ{¦¡¡A
¡e²M°£¡fµ{¦¡§Ú¤@¯ë·|¥t¥~¼g¡I
ªí®æ¡e²Ä¤@±Æ¡f½Ð¨Ì±zªº©Ò»Ý¥ý¥k¶K¡An¶K´XÓ¼ÒªO¨Ì¡e¦C¦L¼e«×¡f¦Ó©w¡A¦Ó¤£¬O¥u¦³¢Ï¢°¡G¢Ð¢²¤@²Õ¡A
³oÓ°µªk¥i´î¤Ö«Ü¦hµ{¦¡½X¡A¤Ï¥¿²Ä¤@±Æ«ç³]©w¡Aµ{¦¡¨Ì¼Ëµe¸¬Äª¡A
Y¦³§ó§ï¤]¤£¶·¥h§ó°Ê¤j³¡¥÷ªºµ{¦¡¡A¥unª½±µ¹ïªí®æקï§Y¥i¡I
xR(1) ¡÷ xR.cells(1,1)
xR(2) ¡÷ xR.cells(2,1) ¬O¥¦ªº¡e¤U¤@®æ¡f¡AYn«ü©w¨ä¡e¥k¤@®æ¡f¡A«h¬° xR(1,2) ¡÷¡@µ¥¦P¤_ xR.cells(1,2) |
|
|
|
|
|
|
- ©«¤l
- 9
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 50
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-9-13
- ³Ì«áµn¿ý
- 2023-10-10
|
¦^´_ 8# ã´£³¡ªL
ã´£³¡ªL :·PÁª©¤j¡A¦]ªþ¥ó¦³¼h¯Å¡A¤p§Ì§ÚÁÙ¤Ó¹à¡A©Ò¥H¨S¿ìªk¤U¸ü¨Ó¬Ý¡A¦³¦b°w¹ï§A¼¶¼gªºµ{¦¡¥h´ú¸Õ¡A¨Ì·Ó¤@±i¼ÐÅÒ§@¹ïÀ³²M³æ¥|²Õקï¡A¦ý¦b¶]°j°é®ÉÁÙ¬O·|¨Ì·Ó²M³æ²Ä¤G²Õ¶}©l«·sÄò½s¡AµLªk¨Ì·Ó²M³æ²Ä¤²Õ¶}©l¡A¦p¹Ï©Ò¥Ü....¦pªG¥i¥HÄò½s§Ú¨ä¥¦¤TÓ¼ÐÅҤ覡À³¸Ó¥i¥H¸òµÛ×¥¿¡A®t¦b²°¼Æªº³¡¤À´N¨S¿ìªk±µÄò+1¤F¡C
|
|
|
|
|
|
|
- ©«¤l
- 552
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 578
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-2-8
- ³Ì«áµn¿ý
- 2024-7-9
|
¦^´_ 4# poke0817
»s§@Àx¦s®æ®æ¦¡¡A©Mª©¥»¦³Ãö«Y¡I2003¤£¬Û®e¡I |
|
|
|
|
|
|