|
楼主 |
发表于 2023-2-21 23:00
|
显示全部楼层
老师,你好!
我将句子上下换个位置,也不行
For i = 1 To UBound(ar, 2)
If isWksExists1(CStr(i)) Then Sheets(CStr(i)).Delete
With Worksheets.Add(after:=Worksheets(Worksheets.Count))
.Name = i
.[B2].Resize(UBound(ar), UBound(ar, 2)) = ar
r = r + 1
.Cells(1, 2) = Sheets("Ŀ¼").Cells(r, 1)
Sheets("Ŀ¼").Hyperlinks.Add Sheets("Ŀ¼").Cells(r, 1), "", i & "!M1", "μ¥»÷′ò¿a£o1¤×÷±í" & i, .[B1].Value
.Hyperlinks.Add .Cells(1, 13), "", "Ŀ¼!A" & .Name + 1, "μ¥»÷′ò¿aĿ¼1¤×÷±í", "·μ»Ø"
End With
Next i |
|