Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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