|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Ways to Add/ Edit/ Remove password to an Office document without opening it?
Dear all,
For Office Program such as Excel/ Word, I know I can protect the documents by opening the file and add protection to the document under the "FILE" Ribbon, "INFO" tab. Wondering are there any ways that allow me to add/ remove/ edit the password of an Office Document in the Windows Explorer, without having to open the Office Documents? Many thanks! |
#2
|
||||
|
||||
Unless you want to get into writing data to the disk sectors used by a file, you cannot edit a file without opening it. There are also ways of modifying some passwords by editing the file with a Hex editor, for example, but that still requires opening the file.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Nope
Unfortunately not. You could invest heaps of time in coding an explorer-plugin to do that for you, but if the Content of the document is really encrypted, almost all bytes have to be rewritten.
Maybe you can change the Password via the C# API, that should be pretty forward then, but maybe the C# App has to open the doc in the Background (I don't really know, as my office-api-coding-time was quite a while ago) as well and you would have to code for each Office-Application by itself. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MS Excel Remove password encryption | Rio Pauline | Excel | 1 | 05-29-2012 03:34 AM |
Here!! Help me to remove password protect from pdf | priya | Word | 1 | 09-17-2011 10:35 AM |
Opening a 64-bit document in 32-bit Office 2010 | sun21170 | Word | 1 | 08-27-2010 05:25 PM |
How do I get rid of a password in a Microsoft Office document? | Antonio Machado | Word | 1 | 08-11-2010 02:29 AM |
Office 2000-problem when re opening a document. | fiesey | Word | 0 | 05-27-2007 08:29 PM |