Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way to have excel automatically add a worksheet
to an excel file upon opening? All files i will be opening will have only one worksheet. Any direction anyone could give me would be terrific. thanks, peter |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Peter
Try this event in the Thisworkbook module Private Sub Workbook_Open() Worksheets.Add.Name = Format(Now, "dd-mm-yy h-mm-ss") End Sub It will give the sheet a name(Date/Time) -- Regards Ron de Bruin http://www.rondebruin.nl "Peter" wrote in message ... Is there a way to have excel automatically add a worksheet to an excel file upon opening? All files i will be opening will have only one worksheet. Any direction anyone could give me would be terrific. thanks, peter |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ron, your advice worked perfectly. thankyou and have a
great weekend. peter -----Original Message----- Hi Peter Try this event in the Thisworkbook module Private Sub Workbook_Open() Worksheets.Add.Name = Format(Now, "dd-mm-yy h-mm-ss") End Sub It will give the sheet a name(Date/Time) -- Regards Ron de Bruin http://www.rondebruin.nl "Peter" wrote in message ... Is there a way to have excel automatically add a worksheet to an excel file upon opening? All files i will be opening will have only one worksheet. Any direction anyone could give me would be terrific. thanks, peter . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automatically insert time in excel but not automatically updated | Excel Worksheet Functions | |||
create a formula in one sheet that would read data from separate sheet automatically | Excel Discussion (Misc queries) | |||
automatically insert row | Excel Discussion (Misc queries) | |||
Function to automatically insert a new sheet as a result of data entry? | Excel Worksheet Functions | |||
Inserting a row in sheet A should Insert a row in sheet B, removing a row in Sheet A should remove the corresponding row in sheet B | Excel Programming |