Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Word - Read-Only notification


  • Please log in to reply

#1
ceekay

ceekay

    New Member

  • Member
  • Pip
  • 3 posts
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


Application.DisplayAlerts = wdAlertsNone

Documents.Open FileName:="d2.doc", ConfirmConversions:=False, ReadOnly:= _
True, AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:="" _
, Revert:=True, WritePasswordDocument:="", WritePasswordTemplate:="", _
Format:=wdOpenFormatAuto


PS: It is only on the Office 2000 version, with all other versions I don't get this message

Hope you can help me out
  • 0

Advertisements


#2
stu_design

stu_design

    Member

  • Member
  • PipPipPip
  • 217 posts
ive been there done that

to answer ur question
Does anyone now how to bypass this annoying notification ??
No

Not to my knowledge

if u still have the app open it still will bring up the "locked for editing" message

if u know this and want to get rid of it then open task manager and end teh process in either applixccations or processes tabh

hope that helps

VBA is cool but can get tricky at times

stu Design
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP