Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Save as new file ONLY and do not save changes to existing xls
I have an existing program that runs in my xls and make changes to various
worksheet in the xls, after all the changes, I want the code to save the xls under another name WITHOUT making saving the changes in the existing xls. Below is the code that I currently using, while saving the file as a new xls this code also make save changes to my exisiting xls, could anyone tell me how I can alter the code so that it does not save the changes in the existing xls? Application.ScreenUpdating = True ChDir "S:\Prof\Monthly\2007" ActiveWorkbook.SaveAs Filename:= _ "S:\Prof\Monthly\2007\Report.xls", FileFormat _ :=xlNormal, Password:="", WriteResPassword:="", ReadOnlyRecommended:= _ False, CreateBackup:=False End Sub Thx |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Force Save over existing file | Excel Programming | |||
Existing file not defaulting to same location using "Save As" | Excel Discussion (Misc queries) | |||
can i save an existing .xls file as a .csv file using command line | Excel Discussion (Misc queries) | |||
Automatically Replacing existing file on save | Excel Programming | |||
Automatically replace existing file on save | Excel Programming |