ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] vbaªº¿z¿ï¥\¯à (¨ú®ø³¡¤À¿z¿ï)

¥»©«³Ì«á¥Ñ °a¤ªºµ ©ó 2020-10-8 12:31 ½s¿è

¦^´_ 13# wei9133
³o¤£¬O¥Î¿z¿ï ¦Ó¬O¥Î¤ñ¹ïªº¤è¦¡  
§A¬Ý¤@¤U¬O¤£¬O³o¼Ë?
  1. Public Sub ¤ñ¹ï½m²ß()
  2.     Application.ScreenUpdating = False
  3.     Dim A, B, i, k
  4.     k = 1
  5.     E = 345
  6.     For X = 1 To Cells(1, 1).End(xlDown).Row
  7.         A = Range(Cells(X, 49), Cells(X, 1))
  8.         B = Range(Cells(X, 99), Cells(X, 51))
  9.         
  10.         For i = 1 To UBound(B, 2)
  11.         If A(1, k) = "" Then A(1, k) = "-"
  12.         If B(1, i) = "" Then B(1, i) = "-"
  13.              f = f & A(1, k)
  14.              r = r & B(1, i)
  15.             If k <= UBound(A, 2) Then k = k + 1
  16.         Next i
  17.         
  18.         k = 1
  19.         
  20.         If f = r Then
  21.            Cells(E, 1).Resize(1, 104) = Cells(X, 1).Resize(1, 104).Value
  22.            E = E + 1
  23.         End If
  24.         
  25.         f = "": r = ""
  26.     Next X
  27.     Application.ScreenUpdating = True
  28. End Sub
½Æ»s¥N½X

TOP

¦^´_ 13# wei9133

¼Ó¥D»Ý¨Dªº¿z¿ï¼Ò¦¡¦b¦P¤@sheet¬OµLªk°õ¦æªº(ikboy¤w¸g»¡©ú¤F)
¦pªG¥u¬O­n­pºâ¦U¬P¶H³Ó²v/±Ñ§½«Øij¥i¥Î¤ñ¹ïªº
¥u¬OµLªk¬Ý¥X³o2¦U°Ï¶ô(A~AW)¤º¸ê®Æªº¬ÛÃö©Ê&³Ó²v/±Ñ§½­pºâ¤è¦¡??

TOP

¦^´_ 12# °a¤ªºµ
§A¦n
¦b³Ìªìªº»Ý¨D¤¤§Ú¨S¦³­n§R¥ô¦ó¸ê®Æ
§Ú¬O­n¤ñ¹ï¬O§_¦³¬Û¦Pªº¸ê®Æ(¦C)
¤~­n©T©w[¥ª|¥k]¤@Ã䪺¤w¿z¿ï±ø¥ó


À³¸Ó«ç»ò»¡¤~¯àÅý§A²z¸Ñ©O0.0a

A~L ­ì¥»ªº¸ê®Æ®æ¦¡­n«O¯d¶Ü?  ÁÙ¬O¥u«O¯d¿z¿ï«áªº?
M~Z ¤£°µ¥ô¦ó°Ê§@?


A~L¤w¸g¿z¿ï¹L¤F¡A³£¤£­n°Ê¥¦
M~Z¨C¤@­Ó³£§â¿z¿ï¿ï³æ©Ô¶}¨ÓÂI"¥þ³¡"
Microsoft_Excel_-_¹ï¾Ô²Î­p.xls-2020-10-08-00-41-45.png

§Úı±o§Ú­Ì·¾³qªº°ÝÃDÀ³¸Ó¥X¦b³o­Ó"¥þ³¡"¤W­±...

·PÁ§Aªá®É¶¡À°§Ú·Q¸Ñ¨M¤è®× m(_ _)m

TOP

¥»©«³Ì«á¥Ñ °a¤ªºµ ©ó 2020-10-7 20:12 ½s¿è

¦^´_ 10# wei9133

A~L ­ì¥»ªº¸ê®Æ®æ¦¡­n«O¯d¶Ü?  ÁÙ¬O¥u«O¯d¿z¿ï«áªº?
M~Z ¤£°µ¥ô¦ó°Ê§@?
³o¼Ëªº¸Ü A~L ªº®æ¦¡¸ê®Æ·|§ïÅÜ µLªk´_­ì ¦]¬°¬O ¥ý§R°£   A~L ªº¸ê®Æ ¦b¶K¤W¿z¿ï«áªº¸ê®Æ  ¦pªG¬O¦b¦P¤@­Ó¬¡­¶Ã¯¸Ì
©ÎµÛ ª½±µ·s¼W¤@­Ó ·sªº ¤u§@ªí¦b§âµ²ªG¶K¤W ?
§Ú¬Ý¤@¤U ¼v¤ù¦n¤F >"<

TOP

¥»©«³Ì«á¥Ñ wei9133 ©ó 2020-10-7 20:00 ½s¿è

¦^´_ 6# ikboy

¤£¹ï¡A§Úª½±µÁ¿§Ú­nªºµ²ªG
¨ä¹ê­ì¥»´N¬O­n§â©Ò¦³¬Û¦Pªº¦æ¼Ð¥Ü¥X¨Ó¡AµM«á¥[Á`°_¨Ó
§Ú¨S¦³­n©î¶}¥Lªº·N«ä
¨C¤@¦æ³£¬O¤@­Ó¹ï¾Ô¬ö¿ý(¦bªþ¥óCZ¦æ¦³¬P¶H)
©Ò¥H­n¤ñ¹ïªº¨ä¹ê¬O¡A¬O§_¦³A~CV³£ªø±o¤@¼Ëªº¦C(»Ý­n¥]§tCZ)¡A¦]¬°¤£¦P¬P¶H¤]·|¦³A~CV·Qªº¤@¼Ëªºª¬ºA¥X²{
¤£¹L¦]¬°ÁÙ¦³CW~CY¬O¤£·|¬Û¦Pªº­È¡A©Ò¥HµLªkª½±µ¤ñ¹ï
²{¦b§Ú¬O¤â°Ê§âA~AWªº¬D¿ï¥X¨Ó«á¡A¦A¥h¤@­Ó¤@­Ó§âAY~CU¿z¿ï¥X¨Ó¡A¤@¼Ëªº¦X¨Ö(³s¬P¶H³£¤@¼Ëªº³¡¤À)¡AµM«á³Ó³õ+1
©Ò¥H·Q­n§Ú¦b©T©wA~AW¿z¿ï±ø¥óªºª¬ªp¤U¡A¥h­«¸mAY~CUªº¿z¿ï±ø¥ó


ÁÙ¬O¬Ý¤£À´ªº³Â·Ð²¾¾r¼v¤ù
https://sendvid.com/kvj69nqz
¶W³s§Ë¤£¥X¨Ó¡A½Ð¦Û¤v½Æ»sºô§}¨ìºô§}¦C§a
¹ê»Ú¬O´N¬O­n³Ì«á´X¬í¨º­Ó°Ê§@¦Ó¤w
¥u¬O¤£¥uÂIªº¨º´X­Ó¡A¦Ó¬O«á¤è¥þ³¡³£ÂI¦¨¥þ³¡

TOP

¦^´_ 9# °a¤ªºµ
§A¦n¡A§Ú¨S¦³´ú¸Õ§Aªº¥¨¶°
¤£¹L¬Ý´Nª¾¹D¤£¹ï¡A¦]¬°ªF¦è¬O¦b¦P¤@­Ó¬¡­¶Ã¯¸Ì
¥u¬O¤À¦¨«e­±¸ò«á­±¦Ó¤w
¸Ô²Ó¥i¥H¬Ý¬Ý¤W­±ªºªþ¥ó
À³¸Ó³o¼ËÁ¿
°²³]¦³A~ZÄæ (¹ê»Ú¤W§ó¦h)
§âA~L¥þ³¡¿z¿ï¦n¤F
­n§âM~Zªº¿z¿ï±ø¥ó¥þ³¡²MªÅ¬°¹w³]
¤j·§´N¥u¬O³o¼Ë¦Ó¤w

TOP

¥»©«³Ì«á¥Ñ °a¤ªºµ ©ó 2020-10-7 14:15 ½s¿è

¦^´_ 1# wei9133

¨Ã±ÆÅã¥Ü¶Ü?
  1. Sub ««ª½¨Ã±ÆÅã¥Ü¥[¿z¿ï()
  2.     Application.ScreenUpdating = False
  3.     ActiveWindow.NewWindow '¶}±Ò¦h­Ó¬Û¦P¤u§@ï
  4.     Windows.Arrange ArrangeStyle:=xlVertical '««ª½¨Ã±ÆÅã¥Ü
  5.    
  6.     Windows("zz.xls:1").Activate '¤Á´«¨ì¤u§@ªí2
  7.     Sheets(2).Cells(51, 1).AutoFilter '¿z¿ï¤u§@ªí2
  8.     Sheets(2).Select 'ÂI¿ï¤u§@ªí2

  9.     Windows("zz.xls:2").Activate '¤Á´«¨ì¤u§@ªí1
  10.     Sheets(1).Cells(1, 1).AutoFilter '¿z¿ï¤u§@ªí1
  11.     Application.ScreenUpdating = True
  12. End Sub
½Æ»s¥N½X

TOP

¦^´_  ikboy
½Ð°Ý§Aªº·N«ä¬O ¿z¿ï«áªºµ²ªG¦A¿z¿ï¤@¦¸©ÎµÛ§ó¦h¦¸¶Ü?
°a¤ªºµ µoªí©ó 2020-10-7 12:28



    ½Ð¬Ý¼Ó¥D¦b5#¦^ÂÐ, ¥Ñ¨ä¬OA~AW »PAY~CU¨º¬q,§A·|©ú¥Õ¤F¡C

TOP

¦^´_ 6# ikboy
½Ð°Ý§Aªº·N«ä¬O ¿z¿ï«áªºµ²ªG¦A¿z¿ï¤@¦¸©ÎµÛ§ó¦h¦¸¶Ü?

TOP

¦b¦P¤@­¶¤Î¬Û¦P¦æ±NA-AW¦C, AY-CU¦Cµø¬°¨â­Ó¤£¦PªO¶ô§@¿z¿ï³B²z¬O¤£¦æªº, ²³æªºÁ|¨Ò: A2¿z¿ï«á¬OÅã¥Ü¸ê®Æ,AY2¿z¿ï«á¬O¤£Åã¥Ü¸ê®Æ, ¨º²Ä2¦æ¨ì©³­nÅã¥Ü©ÎÁôÂÃ!!
§é°J¿ìªk¤À­¶, ¨Ã±Æ¡Cªþ¥ó§Ú¤â°Ê°µªº, ¬Ý¬Ý³o«ä¸ô¦æ¤£¡C

zz.zip (74.09 KB)

TOP

        ÀR«ä¦Û¦b : ¥Í®ð¡A´N¬O®³§O¤Hªº¹L¿ù¨ÓÃg»@¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD