----想修改----
Dim I as Integer
For I = 1 To 100
Sheets.Add after:=Sheets(Sheets.Count)
Sheets(Sheets.Count).Name = Sheets(1).Range("A" & I)
Next
----想修改----
-----相關範例-----
For i = 1 To Worksheets.Count
Cells(i, 1) = Sheets(i).Name
Next i作者: luhpro 時間: 2014-11-23 03:54
Dim lRow&
lRow = 1
Do While Cells(lRow, 1) <> ""
With Sheets.Add(after:=Sheets(Sheets.Count))
.Name = Sheets(1).Cells(lRow, 1)
lRow = lRow + 1
End With
Loop作者: luhpro 時間: 2014-11-25 23:31