Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
A report is run from a web app.
My program opens the report and formats it. I want to keep history so new sheets are added each time and named with todays date. The problem of course is if it is run twice in one day it crashes as it tries to create the 2nd sheet with the same name. I need something to the effect of: (Rdate is a mem var with my formatted date) x=0 loop: x=x+1 If a sheet named Rdate [currently exists] then Rdate = Rdate & " (x)" go to loop else activesheet.name = Rdate |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Move data to new sheet - rename sheet based on criteria ? | Excel Discussion (Misc queries) | |||
Rename active sheet with current file name | Excel Programming | |||
Button to copy sheet, rename sheet sequencially. | Excel Programming | |||
Rename current sheet | Excel Programming | |||
Rename sheet if exists | Excel Programming |