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

I have a file that I have changed the options to ask for password to
modify. But anyone can open the file as read only. I want to make
changes with a macro to eliminate human error. I want the workbook to
be protected but I need the code to open the file so it can make
changes. How is this accomplished? I tried but this is if it has a
password to open.
Workbooks.Open "G:\DPE-IPE\DPE REVISIONS\New Dpe.xls", Password:="Jay"

Thanks in advance,
Jay
 
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
Forgotten OPEN password for Excel file??? MUmfleet Excel Discussion (Misc queries) 1 April 15th 08 09:26 AM
How to open Excel spreadsheet when forgotten password Glenys693 Excel Discussion (Misc queries) 0 March 26th 06 11:49 PM
I Lost my excel password How can I open it? Leo Excel Discussion (Misc queries) 1 March 11th 06 01:02 AM
I Lost my excel password How can I open it? Leo Excel Discussion (Misc queries) 1 March 11th 06 12:58 AM
Excel won't open it's a blank page, after password shannieboat Excel Discussion (Misc queries) 5 October 28th 05 03:04 PM


All times are GMT +1. The time now is 10:45 PM.

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

About Us

"It's about Microsoft Excel"