Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Can you stop Macro alert appearing

We have several workbooks on a server. Staff can access any of them at any
time.

So we could find out which books / sheets were being used I placed a
"counter" on a hidden sheet in each workbook. This works fine so long as
when the workbook is opened the person clicks to accept macros. It appears
many people click no, so the counter is never activated. (not because they
are affraid of virus's, more a case not knowing what it means and are
concerned in case they "change" the sheet some how.)

Is there a piece of code that I can use to automatically accept macros when
the workbook first opens ?

Any other suggestions as to how to resolve the above?

Bob


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Can you stop Macro alert appearing

The whole point of the prompt is to enable users to disable macros if they
are not expecting a macro in the worksheet. There is no way to override this
security feature.

Ian

"Box 666" wrote in message
...
We have several workbooks on a server. Staff can access any of them at any
time.

So we could find out which books / sheets were being used I placed a
"counter" on a hidden sheet in each workbook. This works fine so long as
when the workbook is opened the person clicks to accept macros. It appears
many people click no, so the counter is never activated. (not because they
are affraid of virus's, more a case not knowing what it means and are
concerned in case they "change" the sheet some how.)

Is there a piece of code that I can use to automatically accept macros

when
the workbook first opens ?

Any other suggestions as to how to resolve the above?

Bob




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 157
Default Can you stop Macro alert appearing

Hi Bob,

As per the situation you have described "not because they are afraid of
virus's, more a case not knowing what it means", there is a way where you
can force the people to enable macros.

Just include one extra sheet lets say "warning" in your workbook and then
whenever the workbook is closed make this sheet visible and rest of the
legal sheets "very hidden". If the employee clicks on enable macros then in
the workbook open event unhide the good sheets and hide the warning sheet.
If the employee doesnt enable then they will only get the warning sheet and
hence they cannot do anything.

In the warning sheet you may put information like this:
"Please enable the macros in order to fill up the information. If macros are
not enabled the sheet cannot be worked upon.In case the security level of ur
Excel macro setting is set to High then, BEFORE opening the workbook, in
Microsoft Excel please go to Tools Macros Security. Within this choose
"Medium.You can choose whether or not to run potentially unsafe macros." and
choose press OK. Further when u open the workbook you will get a dialog box
in which choose "Enable Macros"."

If you want the relevant code in workbook_open , close event please post
back.

Regards,
Hari
India


"Box 666" wrote in message
...
We have several workbooks on a server. Staff can access any of them at any
time.

So we could find out which books / sheets were being used I placed a
"counter" on a hidden sheet in each workbook. This works fine so long as
when the workbook is opened the person clicks to accept macros. It appears
many people click no, so the counter is never activated. (not because they
are affraid of virus's, more a case not knowing what it means and are
concerned in case they "change" the sheet some how.)

Is there a piece of code that I can use to automatically accept macros

when
the workbook first opens ?

Any other suggestions as to how to resolve the above?

Bob




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
stop False from appearing Dale G[_2_] New Users to Excel 8 July 26th 08 08:24 PM
How to stop the last record always appearing when I Autofilter TAG Excel Discussion (Misc queries) 1 July 26th 06 12:48 PM
How to stop reviewing bar from automatically appearing ChAnDeRu Excel Discussion (Misc queries) 12 July 9th 05 02:13 PM
how do I stop this appearing.......#DIV/0! Scudo New Users to Excel 5 July 3rd 05 01:14 AM
Stop Dialog box from appearing within macro MrAlMackay Excel Programming 3 August 4th 03 02:16 PM


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