Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I have a file named abc.xls and the same is copied at other location (different path). When ever I update the abc.xls file, I want the same file in other path also to be updated. Is it possible? Regards, Ravi.D |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Click on File | Save As and then navigate to that other location and
click Save - you might be warned that the file exists, but just click OK. Hope this helps. Pete On Jul 22, 12:54*am, ravscares wrote: Hi, I have a file named abc.xls and the same is copied at other location (different path). When ever I update the abc.xls file, I want the same file in other path also to be updated. Is it possible? Regards, Ravi.D |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As _
Boolean, Cancel As Boolean) 'Saves the current file to a backup folder and the default folder 'Note that any backup is overwritten without warning Application.DisplayAlerts = False ActiveWorkbook.SaveCopyAs Filename:="C:\Gordstuff\" & _ ActiveWorkbook.Name 'saves a copy of the workbook ActiveWorkbook.Save 'saves the workbook Application.DisplayAlerts = True End Sub Right-click on the Excel Icon left of "File" abd select "Videw Code" Copy/paste the code above into that module. Edit the path to suit. Alt + q to return to the Excel window. Save the workbook. Gord Dibben MS Excel MVP On Mon, 21 Jul 2008 16:54:08 -0700, ravscares wrote: Hi, I have a file named abc.xls and the same is copied at other location (different path). When ever I update the abc.xls file, I want the same file in other path also to be updated. Is it possible? Regards, Ravi.D |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How change the file location that I save my files to? | Excel Discussion (Misc queries) | |||
SAVE IN LOCATION | Excel Worksheet Functions | |||
have excel prompt for a file name and save location | Excel Discussion (Misc queries) | |||
Using Macro to Save Copy of File to New Location | Excel Discussion (Misc queries) | |||
Existing file not defaulting to same location using "Save As" | Excel Discussion (Misc queries) |