Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default macro virus protection

Is there any way of not allowing a workbook to be opened
if the macros are disabled?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default macro virus protection

No, that is a user's choice. You can hide worksheets and have your code
unhide them - so if it is opened with macros disabled there won't be much
usability. This will encourage users to enable macros.

--
Regards,
Tom Ogilvy

"LiSa" wrote in message
...
Is there any way of not allowing a workbook to be opened
if the macros are disabled?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default macro virus protection

No there isn't. About the best you can do is have your workbook in such a
state that it cannot be used with macros disabled, such as having key sheets
hidden.

--
Jim Rech
Excel MVP
"LiSa" wrote in message
...
| Is there any way of not allowing a workbook to be opened
| if the macros are disabled?
|
|


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 340
Default macro virus protection

Create an add-in that has all of your macros in it. This is just a workbook
with the workbook add-in property set to true. The user then only has two
choices: no open or enable macros. Also, it makes it easy to issue new
macros without having to issue a new workbook.

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"LiSa" wrote in message
...
Is there any way of not allowing a workbook to be opened
if the macros are disabled?




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
Macro Virus? its_my_dime Excel Discussion (Misc queries) 1 December 1st 05 03:43 PM
Macro virus Morrigan Excel Discussion (Misc queries) 1 August 30th 05 06:11 PM
Macro virus Morrigan Excel Worksheet Functions 0 August 30th 05 04:31 PM
auto turn off macro virus protection DEL Excel Programming 3 October 9th 03 01:26 PM
Macro Virus Protection L Buchy Excel Programming 2 July 25th 03 05:36 AM


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