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

[µo°Ý] °õ¦æ¶¥¬q¿ù»~'380'

¥»©«³Ì«á¥Ñ wang077 ©ó 2021-7-29 16:35 ½s¿è

¦^´_ 11# samwang
¤j¤j¡A¦pªG§ÚDÄæ¥u­n¤J®w¡B¨}«~¡B¨}²v©O¡A¥BDÄæ¥i­«½ÆÅã¥Ü

TOP

¦^´_ 12# singo1232001
«D±`·PÁ¤j¤j
§Ú·|¥h¬ã¨s¬Ý¬Ýªº¡I

TOP

¥»©«³Ì«á¥Ñ singo1232001 ©ó 2021-7-29 15:34 ½s¿è

¦^´_ 7# wang077


­Y·Q§ä¸ê®Æ¬[ºcªº¾Ç²ß±Ð§÷¬ÛÃö
½Ð¤Wºô¬d¸ß "¸ê®Æ®w¥¿³W¤Æ" "¸ê®Æ®w­S¦¡" ©ÎªÌ"¸ê®Æ®w¬[ºc" »P "ÃöÁp¦¡¸ê®Æ®w"

test (4).zip (60.28 KB)

TOP

¥»©«³Ì«á¥Ñ samwang ©ó 2021-7-29 15:12 ½s¿è

¦^´_ 8# wang077

½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ

Private Sub CommandButton3_Click()
Dim Arr, Ar(), xD, i&, j&
Set xD = CreateObject("Scripting.Dictionary")
b = ComboBox1.Text
Sheets(b).Select
If Me.ComboBox2.Text <> "" And Me.ComboBox3.Text = "" Then
    Arr = Sheets(b).AutoFilter.Range.Offset(1).SpecialCells(xlCellTypeVisible)
    ReDim Ar(1 To UBound(Arr) + 1, 1 To UBound(Arr, 2))
    For j = 1 To UBound(Arr, 2)
        If j > 4 And j < 36 Then GoTo 99
        For i = 1 To UBound(Arr)
            If Arr(i, j) <> "" Then
                If xD(Arr(i, j)) <> 1 Then
                    xD(Arr(i, j)) = 1
                    If j <> j1 Then j1 = j: n = n + 1
                    If Ar(1, n) = "" Then Ar(1, n) = Cells(2, j)
                    If j = 36 And i = UBound(Arr) Then
                        Ar(i + 1, n) = Format(Arr(i, j), "0%")
                    Else
                        Ar(i + 1, n) = Arr(i, j)
                    End If
                End If
            End If
        Next
99: Next
    With Me.ListBox1
      .List = Ar
      .ColumnCount = n
    End With
End If
Sheets(b).Select
End Sub

1.PNG (64.46 KB)

1.PNG

TOP

¦^´_ 9# Andy2483
³o¤]¤Ó±j¤j¡A­n²z¸Ñµ{¦¡½Xµê­n¤@ÂI®É¶¡¤F
¤]ÁÂÁ¤j¤j´£¨Ñ¤èªk°Ñ¦Ò

TOP

¦^´_ 1# wang077


    ¸gÅç¤À¨É:¸ê®Æ§ï¬°ª½¦¡ªº¦n³B,¥H¼Ó¥D½d¨Ò¬°¨Ò
1.¤é´Á¥i¥H«ùÄòÂX¥R
2.Äæ¦ì¥i¥H§½³¡ÂX¥R
3.¥i¥H­pºâ¦hºØ¨}²v
  3.1.­Ó§O¨}²v
  3.2.¾÷¥x¦X­p¨}²v
  3.3.®Æ¸¹¦X­p¨}²v
  3.4.¤é´Á¦X­p¨}²v
  3.5.¥þ³¡²£«~¨}²v
  3.6.¨ä¥L·Q­n­pºâªº¨}²v
4.®e©ö¬d¸ß¾ú¥v¸ê®Æ

¥H¤W°Ñ¦Ò!

¤J¥X®wºÞ²z-8.zip (57.63 KB)

¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 6# samwang
´ú¸Õ¹L¤F¡A¨S°ÝÃD
¦pªGlistbox¥u­nÅã¥ÜA¡BB¡BC¡BD¡BAJÄæ¡A¥BA¡BB¡BCÄ椣­«½ÆÅã¥Ü©O?
ÁÙ¦³AJÄ檺¨}²v¡Alistbox¤W¦³¿ìªkÅã¥Üxx.x%¶Ü
test.zip (29.21 KB)

TOP

¦^´_ 5# singo1232001
¦pªG¬O§â¿z¿ïªºµ²ªG½Æ»s¨ì·sªº¤u§@ªí©O?
³o¼Ë·|¤ñ¸û¦n³B²z¶Ü?
¤j¤j¡A§Ú¥Î§AªºÀɮפU¥h´ú¸Õ¡Alistbox¤W¨}«~ªº¼Æ­ÈÅã¥Ü¦n¹³¿ù»~¤F
¦n¹³¤]·|§ì¨ì³ø¼o¨º¦æ

TOP

¥»©«³Ì«á¥Ñ samwang ©ó 2021-7-29 13:04 ½s¿è

¦^´_ 1# wang077

¬O³o¼Ë¶Ü? ½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Private Sub ComboBox2_Change()
Range("$A$2:$AJ$65536").AutoFilter Field:=1, Criteria1:=ComboBox2.Text
End Sub

Private Sub CommandButton3_Click()
Dim Arr, Ar(), i&, j&
b = ComboBox1.Text
Sheets(b).Select
If Me.ComboBox2.Text <> "" And Me.ComboBox3.Text = "" Then
    Arr = Sheets(b).AutoFilter.Range.Offset(1).SpecialCells(xlCellTypeVisible)
    ReDim Ar(1 To UBound(Arr) + 1, 1 To UBound(Arr, 2))
    For j = 1 To UBound(Arr, 2)
        For i = 1 To UBound(Arr)
            If Arr(i, j) <> "" Then
            If j <> j1 Then j1 = j: n = n + 1
            If Ar(1, n) = "" Then Ar(1, n) = Cells(2, j)
            Ar(i + 1, n) = Arr(i, j)
            End If
        Next
    Next
    With Me.ListBox1
      .List = Ar
      .ColumnCount = n
    End With
End If
Sheets(b).Select
End Sub

TOP

¥»©«³Ì«á¥Ñ singo1232001 ©ó 2021-7-29 13:00 ½s¿è

¦^´_ 4# wang077

http://forum.twbts.com/thread-23251-1-2.html
¤§«eªº³W«h ¥D­n§Ú¾ã²z¤F¨âºØ¶×¤J¤è¦¡
³o¦¸§Aªº°ÝÃD ­è¦n¦b§Ú¨S¼g¨ìªº½d³ò¥~ ·í®É¤]¨S°ÝÃD´N¨Sªá®É¶¡²`¤JºN¯Á

¥Ø«e§A©Ò¨Ï¥Îªº¬OÄÝ©óadditemªº"°}¦C¤@¦¸¶×¤J"¤è¦¡
(ÁöµM¨S¥X²{additem)
¦ýª½±µ¥Î°}¦C¶×¤J ¤]ºâ¦¹Ãþ

­ì¦]¦b©ó­Ó§O additem µLªk¶W¹L10Äæ¦ì
¥u¯à¾a°}¦C¶×¤J ¤~¯à¶W¹L10Äæ¦ì

³oºØÃä¿z¿ï¤S¿z¿ïªº§e²{¤è¦¡ ¨ä¹ê­n¦n¦n¦Ò¼{¦³µL¨ä¥²­n
¦¹¤è¦¡«á´Á¤j¤è¦V·|«D±`½ÆÂø

«Øij¥Î¥H¤U¤TºØ¤è¦¡
1.§ï¥Î²Ä¤@ºØ±ÀÂ˪º¤è¦¡ ¥Î·s¼W¼È¦sªí·í§@¿z¿ï°Ï
2.¤£­n¦b¤u§@ªí³B²z¿z¿ï°ÝÃD ¥u­n¥Î¤Wuserform1¿z¿ï
3.´N¥u¥Î¤u§@ªí³B²z¿z¿ï°ÝÃD ¤£­n¥Î¤W userform1

test v1.zip (25.45 KB)

TOP

        ÀR«ä¦Û¦b : ¤H¥Í³Ì¤jªº¦¨´N¬O±q¥¢±Ñ¤¤¯¸°_¨Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD