Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default 2003 to 2007 , ActiveWorkbook.ReadOnly

hi, I have the below code that used to work fine on 2003, now on 2007 and I'm
getting false all the time regarless if the file is read-only or not, does
anyone knows how to translate to 2007 the below?


If ActiveWorkbook.ReadOnly = True Then
MsgBox ("You are in Read-Only, please re-open...")
ActiveWindow.Close
Else
....

Thank you in advance
--
Thank you...
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
Excel opens two windows (2007 & 2003 format): I want only 2003. Rob Excel Discussion (Misc queries) 0 March 6th 10 07:46 PM
2003--2007 recognize if i'm in 2007 or 2003 via code. Miri Excel Programming 3 October 15th 08 02:50 PM
ReadOnly Steven Excel Programming 1 July 8th 08 06:11 PM
ActiveWorkbook.SaveAs in excel 2007 Lp12 Excel Programming 4 August 15th 07 06:56 AM
Readonly pauluk[_10_] Excel Programming 1 March 3rd 04 12:43 PM


All times are GMT +1. The time now is 05:04 PM.

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"