LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Suppress dialog while opening a write protected Excel document from VBS

Hello all,
I have the following problem: I have a VBS script which opens an Excel
document using the assignment "Set objExcel =
CreateObject("Excel.Application")" to access the VBA API for
Excel2000. The script opens the workbook, fills in some attributes,
saves the book and closes it.
When the workbook is protected with a password, the VBS script
displays a dialog in which I have to confirm to open the workbook with
read permissions only.
How can I suppress this dialog?
Thanks
Stefan

P.S.: I am using the same mechanism for Word2000 and have the same
problem with some dialog boxes. Is there a general way to disable this
dialogs in office applications?
 
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
how do I write a macro to show the find dialog box in excel 2003 evets Excel Discussion (Misc queries) 1 July 6th 08 01:11 PM
Excel 2000: suppress new document on excel startup green fox[_2_] Excel Discussion (Misc queries) 2 May 6th 08 05:46 PM
Suppress dialog from regserver command mdullni1 via OfficeKB.com Excel Discussion (Misc queries) 3 April 30th 08 07:51 PM
how to suppress office assistance dialog Ormy Excel Discussion (Misc queries) 0 January 20th 06 09:49 AM
Opening Protected XL Document jo_peti Excel Discussion (Misc queries) 0 July 26th 05 07:33 AM


All times are GMT +1. The time now is 01:40 AM.

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

About Us

"It's about Microsoft Excel"