Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JEV JEV is offline
external usenet poster
 
Posts: 9
Default Replacing a password protected file.

Is it correct that I can save over a password protected file (password
needed to modify or open) with a file with the same name? What am I missing.
Is there a way to avoid this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Replacing a password protected file.

JEV,

You need to mark the file as Read Only, either through Windows Explorer (right click etc.), or
through code (with the file closed)

SetAttr "C:\Path\File to be read only.xls", vbReadOnly

HTH,
Bernie
MS Excel MVP


"JEV" wrote in message
...
Is it correct that I can save over a password protected file (password
needed to modify or open) with a file with the same name? What am I missing.
Is there a way to avoid this?



Reply
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
PAssword protected file will not open jetta878 Excel Discussion (Misc queries) 9 January 7th 09 06:17 PM
XLS password protected file JacquesT Excel Discussion (Misc queries) 5 December 25th 08 02:02 PM
changing a password protected file mellow Excel Discussion (Misc queries) 2 June 3rd 06 05:10 AM
how to automate opening a password protected excel file? e.g. a .xls that has a password set in the security tab. Daniel Excel Worksheet Functions 0 June 23rd 05 11:56 PM
bypass password when update linking of password protected file Yan Excel Discussion (Misc queries) 1 February 7th 05 11:29 PM


All times are GMT +1. The time now is 11:28 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"