Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 98
Default I need to remove passwords from a list of files.

Hello all,

I have a list of *.XLS files in a folder. Each one has a password to
open the file (Save As...ToolsGeneral Options...). The password is
the same on each file.

I need to remove the password on each file. Is there a way to create
a macro that will do this for me? Sample code is welcomed.

Any help will be greatly appreciated,

Conan Kelly


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default I need to remove passwords from a list of files.

Hi Conan,

See JE McGimpsey at:

http://www.mcgimpsey.com/excel/fileandvbapwords.html


---
Regards,
Norman


"Conan Kelly" <CTBarbarin at msn dot com wrote in message
...
Hello all,

I have a list of *.XLS files in a folder. Each one has a password to open
the file (Save As...ToolsGeneral Options...). The password is the same
on each file.

I need to remove the password on each file. Is there a way to create a
macro that will do this for me? Sample code is welcomed.

Any help will be greatly appreciated,

Conan Kelly



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default I need to remove passwords from a list of files.

Give this a try...

Sub UnprotectAllsheets
dim wks as worksheet

on error resume next
for each wks in activeworkbook.Worksheets
wks.UnProtect "MyPassword"
next wks
set wks = nothing
end sub
--
HTH...

Jim Thomlinson


"Conan Kelly" wrote:

Hello all,

I have a list of *.XLS files in a folder. Each one has a password to
open the file (Save As...ToolsGeneral Options...). The password is
the same on each file.

I need to remove the password on each file. Is there a way to create
a macro that will do this for me? Sample code is welcomed.

Any help will be greatly appreciated,

Conan Kelly



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default I need to remove passwords from a list of files.

Norman,

Thanks for the info. But that's not exactly what I'm looking for.

I don't need to crack the passwords. I already know what they are.

What I'm looking for is code to remove the file passwords from a list
of files.

Thanks again for your help,

Conan





"Norman Jones" wrote in message
...
Hi Conan,

See JE McGimpsey at:

http://www.mcgimpsey.com/excel/fileandvbapwords.html


---
Regards,
Norman


"Conan Kelly" <CTBarbarin at msn dot com wrote in message
...
Hello all,

I have a list of *.XLS files in a folder. Each one has a password
to open the file (Save As...ToolsGeneral Options...). The
password is the same on each file.

I need to remove the password on each file. Is there a way to
create a macro that will do this for me? Sample code is welcomed.

Any help will be greatly appreciated,

Conan Kelly





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default I need to remove passwords from a list of files.

Jim,

Thanks for the response. But that isn't what I'm looking for.

What you described appears to be code to remove worksheet/workbook
passwords.

What I need is code to remove FILE passwords. I already know what the
passwords are.

Thanks again for your help,

Conan




"Jim Thomlinson" wrote in message
...
Give this a try...

Sub UnprotectAllsheets
dim wks as worksheet

on error resume next
for each wks in activeworkbook.Worksheets
wks.UnProtect "MyPassword"
next wks
set wks = nothing
end sub
--
HTH...

Jim Thomlinson


"Conan Kelly" wrote:

Hello all,

I have a list of *.XLS files in a folder. Each one has a password
to
open the file (Save As...ToolsGeneral Options...). The password
is
the same on each file.

I need to remove the password on each file. Is there a way to
create
a macro that will do this for me? Sample code is welcomed.

Any help will be greatly appreciated,

Conan Kelly





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
how do I remove an item from the recently used files list Sandy MCP Excel Discussion (Misc queries) 2 April 15th 08 04:20 PM
MULTIPLE SHEET ADD & REMOVE PASSWORDS Deron Excel Discussion (Misc queries) 1 January 23rd 08 01:18 AM
Remove passwords from many workbooks [email protected] Excel Discussion (Misc queries) 4 December 14th 07 08:54 PM
how to open and remove passwords in bulk gordon Excel Discussion (Misc queries) 4 August 10th 07 04:46 PM
updateLink; files with passwords , VBA help! tp Excel Programming 2 July 13th 05 09:14 AM


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