Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Bypass macros in Read only

Is there some code that will bypass/disable certain macros if the file is opened with read only status

Thanks in anticipation,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Bypass macros in Read only

I don't think so, but you could put this in the beginning of the macros in
question:

If ThisWorkbook.ReadOnly Then Exit Sub

--
HTH. Best wishes Harald
Followup to newsgroup only please

"Lawlera" skrev i melding
...
Is there some code that will bypass/disable certain macros if the file is

opened with read only status?

Thanks in anticipation,



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Bypass macros in Read only

Thanks Harald - works a treat!
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
Bypass Auto-Open Procedure QB Excel Discussion (Misc queries) 1 October 6th 09 04:29 PM
Bypass a function in a Macro bevchapman Excel Discussion (Misc queries) 3 October 6th 09 04:07 PM
any way to bypass Excel Limit of 255 rows? griff Charts and Charting in Excel 0 November 9th 05 04:18 PM
Oblect not found in macro - bypass fortnum Excel Programming 0 November 20th 03 01:46 PM
In addition to previous question, if opening an Excel file in NON-read-only mode, would the macros on the worksheets work as well? Greener Excel Programming 2 October 9th 03 03:40 AM


All times are GMT +1. The time now is 09:47 AM.

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"