Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default macros disabled

Gerardo,

A very popular question.....
You can't "detect" if macros are enabled.
What you can do is make your workbook unusable (by VeryHiding sheets).
If macros are enabled, you'd unhide the sheets via code.
Search Google for "Force Macros" to find a lot of threads on this subject.

John

Gerardo wrote:

Is there any way to detect if macros were disabled when a file is open ?
I'd like to automatically close a file if macros are not enabled.

thanks !!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macros disabled

Thanks John !!

"John Wilson" wrote in message
...
Gerardo,

A very popular question.....
You can't "detect" if macros are enabled.
What you can do is make your workbook unusable (by VeryHiding sheets).
If macros are enabled, you'd unhide the sheets via code.
Search Google for "Force Macros" to find a lot of threads on this subject.

John

Gerardo wrote:

Is there any way to detect if macros were disabled when a file is open ?
I'd like to automatically close a file if macros are not enabled.

thanks !!




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
Macros gets disabled by default chakradhar Excel Worksheet Functions 1 March 30th 07 04:28 PM
Macros are disabled . . . and they shouldn't be pglufkin Excel Discussion (Misc queries) 3 January 2nd 07 06:38 PM
Macros are disabled cgore Excel Discussion (Misc queries) 1 February 17th 06 05:33 PM
macros disabled Dan E[_2_] Excel Programming 0 September 8th 03 04:01 PM
disabled macros Martin Wheeler Excel Programming 2 September 6th 03 03:20 AM


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