LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 98
Default Overridding the "already exists" message with the SaveAs method

Hello all,

I'm using Excel 2002 SP3.

I have a list of 66 password protected Excel spread sheets that I need
to open, delete the top two lines, then save it removing the password,
and then move the file to a different folder.

I have the open (including password) and the deleting the top two rows
working.

The way I'm trying to remove the password is by saving as the same
workbook leaving the password argument blank. The problem is that I
get the message saying that it already exists and asking me if I want
to overwrite it. Is there any way to get the SaveAs method to
override this message box and overwrite the file by default? I looked
through the help files on SaveAs method and none of the arguments
explicitly said anything about existing files. The only one that I
think might work is the ConflictResolution argument, but that looks
like it is for resolving conflicts when 2 people are working on the
same workbook at the same time.

Any help on this will be greatly appreciated,

Conan Kelly


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
No "Sheet" tab exists on Page Layout. Need to print gridlines.??? Terre Excel Worksheet Functions 4 September 20th 06 02:04 AM
Error Message "Select method of worksheet class failed" philc Excel Programming 5 May 4th 05 08:07 AM
"GoalSeek method of Range object failed" error message Fixit_Steve Excel Programming 0 January 13th 05 07:29 PM
Getting "compile error" "method or data member not found" on reinstall Bp Excel Programming 1 April 23rd 04 04:42 PM
When is "?" really a "?" (.SaveAs with Chinese chars) Nick Cranham Excel Programming 0 February 13th 04 11:01 AM


All times are GMT +1. The time now is 02:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"