Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default opening workbook as read-only

Hi,
I've got workbook with write access password. I want to open it as
read-only from another workbook using VBA. How to make it to prevent
appearing prompt to input password? (I dont want to press "read only" button
in this prompt?

Regards
Mariusz


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default opening workbook as read-only

Hi
try
workbooks.open filename:=your_filename.xls, readonly:=True

-----Original Message-----
Hi,
I've got workbook with write access password. I want

to open it as
read-only from another workbook using VBA. How to make it

to prevent
appearing prompt to input password? (I dont want to

press "read only" button
in this prompt?

Regards
Mariusz


.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default opening workbook as read-only

Many thanks, it works fine
I dont know why I missed it :(

Mariusz

Uzytkownik "Frank Kabel" napisal w wiadomosci
...
Hi
try
workbooks.open filename:=your_filename.xls, readonly:=True

-----Original Message-----
Hi,
I've got workbook with write access password. I want

to open it as
read-only from another workbook using VBA. How to make it

to prevent
appearing prompt to input password? (I dont want to

press "read only" button
in this prompt?

Regards
Mariusz


.



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
file keeps opening as read only Sal Excel Discussion (Misc queries) 3 November 6th 08 10:43 PM
File always opening as read only Larry Wallis Excel Discussion (Misc queries) 1 February 4th 05 02:22 PM
How to make the opening of a workbook conditional upon the opening of another workbook Marcello do Guzman Excel Programming 1 December 16th 03 06:09 AM
How to make opening of workbook conditional of opening of another workbook turk5555[_2_] Excel Programming 2 December 15th 03 11:07 PM
Opening Excel Workbook from Word using VBA - Always Read Only Alan Excel Programming 0 November 5th 03 02:55 AM


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