| | |
Word Automation: Read Only notification
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Mar 2005
Posts: 1
Reputation:
Solved Threads: 0
Hi,
I wrote a macro to open a file as Read Only, so normally even if that file is allready open it should open as Read Only no ??
Now when the file is allready open and I run the macro I stil get that stupid notification "Open as read Only - Notify - Cancel"
Does anyone now how to bypass this annoying notification ??
Here is the macro
Documents.Open FileName:="d2.doc", ConfirmConversions:=False, ReadOnly:= _
True, AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:="" _
, Revert:=True, WritePasswordDocument:="", WritePasswordTemplate:="", _
Format:=wdOpenFormatAuto
I wrote a macro to open a file as Read Only, so normally even if that file is allready open it should open as Read Only no ??
Now when the file is allready open and I run the macro I stil get that stupid notification "Open as read Only - Notify - Cancel"
Does anyone now how to bypass this annoying notification ??
Here is the macro
Documents.Open FileName:="d2.doc", ConfirmConversions:=False, ReadOnly:= _
True, AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:="" _
, Revert:=True, WritePasswordDocument:="", WritePasswordTemplate:="", _
Format:=wdOpenFormatAuto
![]() |
Similar Threads
- Help word automation with c# urgent please (C#)
- How to open a Word Document in Read-only mode (Visual Basic 4 / 5 / 6)
- Word Automation Image save in jpg format (ASP.NET)
- delphi word (Pascal and Delphi)
- TSP read input file problem (C++)
- Automation in Excel (Visual Basic 4 / 5 / 6)
- Read the questions carefully. (Windows NT / 2000 / XP)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Pop3 Mail Watcher (Part 1)
- Next Thread: Please help with a script
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






