Sub 试用()
Dim irow&, icol&
Dim wb1 As Workbook, sh1 As Worksheet
Set wb1 = ThisWorkbook
Set sh1 = wb1.Sheets(1)
irow = sh1.[a65536].End(xlUp).Row
icol = sh1.[zz1].End(xlToLeft).Column
Ph = wb1.Path
For i = 2 To icol
Workbooks.Add
ActiveWorkbook.SaveAs Filename:=Ph & "\" & sh1.Cells(1, i) & "_预算"
With ActiveWorkbook
If .Sheets.Count < ...