Hi,
I have a macro that automatically adds a sheet to a workbook, it then renames it with the Date using this code:-
The problem I have is that I can only do this once a day otherwise I get an error because a worksheet already exists with the Date. Is there a way I can do this so that if a sheet with the same date already exists it will rename the new one "DD-MM-YYYY 2". So on and So forth.PHP Code:
ActiveSheet.Name = Format(Date, "DD-MM-YYYY")
Thanks in Advance
Bookmarks