PC Review


Reply
Thread Tools Rate Thread

Disable Password Dialog Close Workbook

 
 
David McNaughton
Guest
Posts: n/a
 
      15th Feb 2007
Hi

I need to open a whole series of workbooks. What i would like to be able to
do is if the workbook has a Password (as in File Save As (selecting the
Tools Option then Password to Open)), close the workbook immediatley.

How do I do this?

D

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      15th Feb 2007
You could look at the .haspassword property for that workbook.

But I guess my question is how did you open it if it had a password?



David McNaughton wrote:
>
> Hi
>
> I need to open a whole series of workbooks. What i would like to be able to
> do is if the workbook has a Password (as in File Save As (selecting the
> Tools Option then Password to Open)), close the workbook immediatley.
>
> How do I do this?
>
> D


--

Dave Peterson
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Marcos Disable when Workbook Password is added Carey Campbell Microsoft Excel Crashes 1 8th Jul 2008 10:06 PM
How to avoid being asked for a VBA password on workbook close? phpons@gmail.com Microsoft Excel Programming 2 28th May 2008 10:39 AM
Any vba code to disable only close button in Excel workbook, please? Bon Microsoft Excel Programming 1 16th May 2006 08:18 PM
How do I disable the workbook close method Jenny Microsoft Excel Misc 1 18th Aug 2004 07:47 PM
Open en close a workbook with password Morrigu Microsoft Excel Programming 1 16th Apr 2004 04:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:52 AM.