G
Guest
Hey all
Here we go. The workbook contains sheets for each business day of the month. Each day a new sheet is added. The user renames the added sheet to "New" and clicks an Update button to compile the data onto a summary worksheet. I would like the macro to also rename the added sheet to the date that appear in cell E2 in this format: yyyymmdd. I have tried to format the date in the cell, but the macro gives me the error CANNOT USE [ or / . Although the date appears as yyyymmdd, in the formula bar it is still mm/dd/yyyy
Any help is greatly appreciated.
Here we go. The workbook contains sheets for each business day of the month. Each day a new sheet is added. The user renames the added sheet to "New" and clicks an Update button to compile the data onto a summary worksheet. I would like the macro to also rename the added sheet to the date that appear in cell E2 in this format: yyyymmdd. I have tried to format the date in the cell, but the macro gives me the error CANNOT USE [ or / . Although the date appears as yyyymmdd, in the formula bar it is still mm/dd/yyyy
Any help is greatly appreciated.