Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 410
Default Excel VBA open with Password

I am trying to write code to open a file that has a known password.
Coudl you help me over this hurdle? Here is the file path and
password.
Name and path = "G:\DPE-IPE\DPE REVISIONS\New Dpe.xls"
Password = "Monkey"

Thanks,
Jay
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default Excel VBA open with Password

Hi
Workbooks.open "G:\DPE-IPE\DPE REVISIONS\New Dpe.xls",
Password:="Monkey"

regards
Paul
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 410
Default Excel VBA open with Password

On Apr 28, 9:37*am, wrote:
Hi
Workbooks.open "G:\DPE-IPE\DPE REVISIONS\New Dpe.xls",
Password:="Monkey"

regards
Paul


Paul,
I am sorry I did not explain this very well. I ahve the workbook in
question password protected to make changes not to open. Anyone can
open the file, but you need a password to modify or make changes. I
want the macr to do all of the changes to the sheet to eliminate human
error. How do you do this?

Thanks in advance,
Jay
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Excel VBA open with Password

Check your other post.

jlclyde wrote:

I am trying to write code to open a file that has a known password.
Coudl you help me over this hurdle? Here is the file path and
password.
Name and path = "G:\DPE-IPE\DPE REVISIONS\New Dpe.xls"
Password = "Monkey"

Thanks,
Jay


--

Dave Peterson
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
I forgot my password to open an excel document, how do I open it? chris ohearn Excel Discussion (Misc queries) 1 August 11th 08 02:32 PM
Excel VBA open with Password jlclyde Excel Discussion (Misc queries) 4 April 28th 08 06:43 PM
PASSWORD REMOVAL I have the password to open the file and the password to modify the file now how to remove them LJ[_4_] Excel Programming 0 April 27th 06 03:18 AM
I Lost my excel password How can I open it? Leo Excel Discussion (Misc queries) 1 March 11th 06 01:02 AM
open password protected Excel doc David Excel Programming 1 December 8th 04 12:01 AM


All times are GMT +1. The time now is 07:08 AM.

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"