Hi all
I have workbook with some sheet(MAIN, BC1,BC2, PL1,PL2,....,PL30) and now Iwant to have a macro that
when I type 201810 in sheet(Main).range(A1) then run macro
workbook add 31 newsheets with sheetname is the day of month like: 20181001, 20181002,.....,20181031
Next month, I type 201811 in sheet(Main).range(A1) then run macro
workbook first delete 31 sheets with sheetname of old month like: 20181001, 20181002,.....,20181031
And then add 30 newsheets with sheetname is the day of month like: 20181101, 20181102,.....,20181130
Please help me to do that.
Thanks in advanced
I have workbook with some sheet(MAIN, BC1,BC2, PL1,PL2,....,PL30) and now Iwant to have a macro that
when I type 201810 in sheet(Main).range(A1) then run macro
workbook add 31 newsheets with sheetname is the day of month like: 20181001, 20181002,.....,20181031
Next month, I type 201811 in sheet(Main).range(A1) then run macro
workbook first delete 31 sheets with sheetname of old month like: 20181001, 20181002,.....,20181031
And then add 30 newsheets with sheetname is the day of month like: 20181101, 20181102,.....,20181130
Please help me to do that.
Thanks in advanced