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

[µo°Ý] ListBox2§R°£¬Y¦C

[µo°Ý] ListBox2§R°£¬Y¦C

½Ð±Ð¤j¤j:
Sub showlastdatas()
    Dim str1 As String
    wb3.Activate
    str1 = Left(TextBox31, 5) & CommandButton4.Caption
    With Sheets(str1)
        row1 = .Cells(65536, 4).End(xlUp).Row
        If row1 < 2 Then Exit Sub
        Dim mystr As String
        With Application.Names.Add("Tmp2", .Range(.Cells(2, 1), .Cells(row1, 24)))
            mystr = .RefersTo
            .Delete
        End With
        ListBox2.RowSource = ""
        With ListBox2
            .ColumnCount = 24
            .ColumnWidths = "68pt;60pt;45pt;60pt;----------------"
            .RowSource = mystr
            .ColumnHeads = True
            .ListIndex = ListBox2.ListCount - 1
        End With
    End With
End Sub
ListBoxÅã¥Ü®É,¥i§_§R°£¬Y¤@¦C¸ê®Æ?(Excel¬¡­¶¤º®e¨S§R)À³¦p¦ó³B²z
©Î¿z¿ï¬Y±ø¥ó¤U¤~list

ListBox2¡E.RemoveItem N
Nªí¥Ü¦C§Ç
¥ý¥H°j¾E¿z¿ï­n§R°£ªº¦C¡A¦pªG¥i¥H±q©³³¡©¹¤W§R¡C

TOP

ListBox2¡E.RemoveItem N
ListBox2¤Ö¤@¦C
¬O§_¥iÅý¤u§@­¶¨º¤@¦CÁÙ¦s¦b

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD