- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 249
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-17
|
- Sub nn()
- Dim Ay()
- With Workbooks.Open(ThisWorkbook.Path & "\999.xls")
- With .ActiveSheet
- For Each a In .Range(.[A1], .[A65536].End(xlUp))
- If IsDate(a) Then
- ar = Array(a.Offset(5).Value, a.Value, a.Offset(1).Value, a.Offset(3).Value)
- ReDim Preserve Ay(s)
- Ay(s) = ar
- s = s + 1
- End If
- Next
- End With
- .Close
- End With
- Sheets("Sheet1").[A2].Resize(s, 4) = Application.Transpose(Application.Transpose(Ay))
- End Sub
½Æ»s¥N½X |
|