Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm working on a large spreadsheet which lets say is work in progress and
therefore I have to resave it each time it is updated under a different name to distinguish between each saved copy. Is it possible to set up the Excel file so whenever I go into it it creates a new saved file with a dated reference, so I have a full audit trail (i.e. historical log) in date order automatically. -- David |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Użytkownik "David" napisał w wiadomości ... I'm working on a large spreadsheet which lets say is work in progress and therefore I have to resave it each time it is updated under a different name to distinguish between each saved copy. Is it possible to set up the Excel file so whenever I go into it it creates a new saved file with a dated reference, so I have a full audit trail (i.e. historical log) in date order automatically. -- David try Private Sub Workbook_BeforeClose(Cancel As Boolean) With ActiveWorkbook .Save filepath = .Path .SaveAs filepath & "\your name " & Date & ".xls" .Close End With End Sub mcg |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Excuse my ignorance but where do I type what you have written. What is
Private Sub Workbook. I'm obviously not very proficient in Excel so please walk me through it. Thanks -- David "Gazeta" wrote: UÂżytkownik "David" napisaÂł w wiadomoÂści ... I'm working on a large spreadsheet which lets say is work in progress and therefore I have to resave it each time it is updated under a different name to distinguish between each saved copy. Is it possible to set up the Excel file so whenever I go into it it creates a new saved file with a dated reference, so I have a full audit trail (i.e. historical log) in date order automatically. -- David try Private Sub Workbook_BeforeClose(Cancel As Boolean) With ActiveWorkbook .Save filepath = .Path .SaveAs filepath & "\your name " & Date & ".xls" .Close End With End Sub mcg |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Użytkownik "David" napisał w wiadomości ... Excuse my ignorance but where do I type what you have written. What is Private Sub Workbook. I'm obviously not very proficient in Excel so please walk me through it. Thanks -- David "Gazeta" wrote: U?ytkownik "David" napisa3 w wiadomo?ci ... I'm working on a large spreadsheet which lets say is work in progress and therefore I have to resave it each time it is updated under a different name to distinguish between each saved copy. Is it possible to set up the Excel file so whenever I go into it it creates a new saved file with a dated reference, so I have a full audit trail (i.e. historical log) in date order automatically. -- David try Private Sub Workbook_BeforeClose(Cancel As Boolean) With ActiveWorkbook .Save filepath = .Path .SaveAs filepath & "\your name " & Date & ".xls" .Close End With End Sub mcg right click on sheets tab an choose show code than find in left window ThisWorkbook an double click it than to right window paste Private Sub Workbook_BeforeClose(Cancel As Boolean) With ActiveWorkbook .Save filepath = .Path .SaveAs filepath & "\your name " & Date & ".xls" .Close End With End Sub than press alt+f11 and save your file on closing it copy of the file will be saved as well with data stamp change "your name" to desired one mcg if still help needed - write mcg |
#5
![]() |
|||
|
|||
![]() Quote:
You dont' have to create a copy of your spreadsheet each time it is updated, thereby saving you time and effort and keeping your folders uncluttered. You can quickly get a list of previous versions of your spreadsheet, again, by just right clicking on the file and selecting an option from the popup menu. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
unhide menu bar in excel - just disappeared | Setting up and Configuration of Excel | |||
Calendar Control in Excel 2000 can't display date in Excel 2003? | Excel Discussion (Misc queries) | |||
Need to retrieve a previous version of an excel worksheet | Excel Discussion (Misc queries) | |||
Displaying MS Excel Chart control in ASP.NET Application | Charts and Charting in Excel | |||
I cant use englisch function names in a swedich version of excel | Excel Discussion (Misc queries) |