- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 248
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-16
|
¦^´_ 1# hong912
¨âÀɮ׸m©ó¦P¤@¸ê®Æ§¨¤º
¤U©Ô¿ï³æ©Ò¦bªº¤u§@ªí¼Ò²Õµ{¦¡½X- Private Sub ComboBox1_Change()
- With ComboBox1
- i = .ListIndex
- If i = -1 Then Exit Sub
- ar = Array(Month(Date), Date, .List(i, 1), .List(i, 2), .List(i, 3), .List(i, 4), "", .List(i, 5))
- Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Resize(, 8) = ar
- End With
- End Sub
- Private Sub ComboBox1_DropButtonClick()
- Application.ScreenUpdating = False
- fs = ThisWorkbook.Path & "\¸ê®Æ®w.xlsx"
- With Workbooks.Open(fs)
- With .Sheets("¤u§@ªí1")
- ar = .Range(.[A4], .[A3].End(xlDown).Offset(, 5))
- With ComboBox1
- .ColumnCount = 3
- .List = ar
- .ColumnWidths = "0,30,40"
- End With
- End With
- .Close 0
- End With
- Application.ScreenUpdating = True
- End Sub
½Æ»s¥N½X |
|