Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub Auto_Open()
Dim SH As Worksheet Set SH = Worksheets(Worksheets.Count) Worksheets.Add after:=SH Worksheets(Worksheets.Count).Name = Format(Date, "yyyymmdd") End Sub What additional code do i need to add & where - in order not to get an error message if sheet name already exists when opening file a second time Thxs |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change Error Messaga from Sheet Code | Excel Programming | |||
Overflow error - same code, different sheet | Excel Programming | |||
Need Code to Set Scaling Zoom in PageSetup in Auto_Open Sub | Excel Programming | |||
Auto_open and environ variable error cannot find library | Excel Programming |