Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Getting readonly & password properties without opening file

Hi, is there a way to check the following properties of Excel files without
actually opening up the file? I need to call this in batch from a macro

ActiveWorkbook.ReadOnly
ActiveWorkbook.ReadOnlyRecommended

ActiveWorkbook.SaveAs ... Password:="pwd",
ActiveWorkbook.SaveAs ... WriteResPassword:="",

Cheers
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
Excel file opening password Manikandan[_2_] Excel Discussion (Misc queries) 2 March 6th 09 09:26 AM
Is there any way to be prompted for a password when opening a file Hamed parhizkar Excel Discussion (Misc queries) 2 November 29th 07 04:49 PM
how to automate opening a password protected excel file? e.g. a .xls that has a password set in the security tab. Daniel Excel Worksheet Functions 0 June 23rd 05 11:56 PM
macro code to change file-opening password arunjoshi[_18_] Excel Programming 1 June 16th 05 08:49 AM
Opening a ReadOnly file in Excel VBA Demon Excel Programming 4 August 8th 03 04:06 AM


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