#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default Read only

I have an excel file with a list of commonly used files and the user selects
a file from the list and it opens the file. But if someone is in the file
it takes a little longer to open but then it opens as read only but the user
does not get notification that the file was opened read only. Then if they
do something and then try to save the file it will tell them it is read only.
How do you tell the user that the file was opened read only right after the
file was opened.

This is what I am using. vOpen is a variable of the file that was seleted.
Workbooks.Open Filename:=vOpen, UpdateLinks:=3

Thank you for your help,

Steven
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Read only

If ActiveWorkbook.ReadOnly Then DoWarning

--
Jim
"Steven" wrote in message
...
|I have an excel file with a list of commonly used files and the user
selects
| a file from the list and it opens the file. But if someone is in the
file
| it takes a little longer to open but then it opens as read only but the
user
| does not get notification that the file was opened read only. Then if
they
| do something and then try to save the file it will tell them it is read
only.
| How do you tell the user that the file was opened read only right after
the
| file was opened.
|
| This is what I am using. vOpen is a variable of the file that was
seleted.
| Workbooks.Open Filename:=vOpen, UpdateLinks:=3
|
| Thank you for your help,
|
| Steven


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
I have a read only xl file, I need it to be read and write drama queen Excel Discussion (Misc queries) 3 July 1st 06 12:25 AM
Read-write/Read-only Jillian Excel Discussion (Misc queries) 4 February 16th 06 05:26 PM
XCEL FILE REC'D AS READ ONLY -- HOW TO NOT BE "READ ONLY" billybob Excel Discussion (Misc queries) 1 February 13th 06 03:14 AM
How can a file be converted from Read-Only to Read/Write Jim in Apopka Excel Discussion (Misc queries) 2 November 19th 05 04:59 PM


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