Code: Select all
list := [all, public, opublic, vospit, PKV, pedag, level, data_diag, diag]
For k, v in list
{
v := book1.workSheets(A_index+1).Cells.(book1.workSheets(A_index+1).Rows.Count, "A").End(xlUp := -4162).Row - 1
book1.Worksheets(A_index+1).name := book1.Worksheets(A_index+1).name "_" v
}
MsgBox % all ?????
MsgBox % public ?????
.....