摘要:
Sub aa() Dim i As Integer i = 2 Dim j As Integer For j = 1 To 18 i = 2 Worksheets.Add after:=Worksheets("sheet1") ActiveSheet.Name = CStr(j) ... 阅读全文
摘要:
Sub lqxs() Dim Arr, i&, Sht As Worksheet, n& n = 1 For Each Sht In Sheets If Sht.Name "汇总" Then Arr = Sht.[b2:e2] n = n + 1 Cells(n, 1) = Sht.Name Cells(n, 2).Res... 阅读全文
摘要:
Sub Worksheet_Change(ByVal Target As Range) Dim i As Integer Dim j As Integer Dim r As Integer r = 1000 For i = 1 To r If Cells(i, 6) = "" Or Cells(i, 6) = 0 Then ... 阅读全文
摘要:
Sub aa() Dim arr As Variant Dim i As Integer Dim j As Integer Dim rng As Range Dim temp As Variant arr = Range("a1", [a65536].End(3)).Value j = 1 For i = 1 To UBo... 阅读全文