Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Disable Password Dialog Close Workbook

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Disable Password Dialog Close Workbook

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
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
disable save as dialog box Dion Excel Programming 2 October 5th 06 09:11 PM
Any vba code to disable only close button in Excel workbook, please? Bon Excel Programming 1 May 16th 06 08:18 PM
Close Dialog Box with SendKeys Jim May Excel Programming 3 October 4th 04 04:25 PM
Close dialog box Web_Builder Excel Programming 3 August 6th 04 06:45 PM
Open en close a workbook with password Morrigu Excel Programming 1 April 16th 04 04:37 PM


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

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"