Macro Xcel Windows

K

Kyle

Every time I open a xcel file contains macro. A Micro xcel
window pop up with message of "Macro may contain viruses.
It is always safe to disable macros...."

How do I get rid of this popup and go right into the xcel
without this pop up

Thanks.
 
F

Frank Kabel

Hi Kyle
you can set the security settings to 'low'. Goto 'Tools - Macro -
Security'. Though I wouldn't recommend doing this. This feature should
prevent macro viruses.
If you have a Excel file with this popup though it does not contain
macros, you may go in the VBA editor and delete/remove all modules for
this specific workbook (also check the workbook module and the
worksheet modules for code rests)
 
N

Norman Harker

Hi Kyle!

Re-read the warning as you have it wrong.

You can prevent this warning popping up by changing your security
settings.

Tools > Macro > Security
re-set to "Low"

But make sure that you have:

1. Installed an anti virus program
2. That your virus definitions are up to date
3. The you have installed all updates / patches to your Operating
System and Office
4. That you regularly check for updates to viruses and updates
5. That you and other users of the computer don't open attachments to
emails or click hyperlinks in emails without scanning them (even if
they are from someone you know).
6. ...Watch this space!!!



--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
 
G

Gord Dibben

Kyle

If using XL97, macro security is on or off, no levels. If using newer version
of Excel have a look at the following.

Before setting your security to "low" which will let every file with macros
open without warning I would investigate the use of Office's Self
Certification tool.

You can create a digital certificate and use that on your VBAProject so only
that file with the certificate is allowed to be opened with no warning.

You can get to SelfCert either of these ways........

1. Start>Programs>Microsoft Office>Tools>"Digitasl Certificate for VBA
Projects"

2. Open Windows Explorer and drill down to your Office folder. Find
SelfCert.exe and run it.

This certificate is good only on your computer but can be used for more than
one file.

Once the certificate has been created and with your file open, go to the
VBEditor and select your VBAproject/file.

Tools>Digital Signature>Choose. Select the Certificate you just created.
OK your way out and save your file. You will repeat this step for each
workbook that contains macros.

Next time you open this/these particular file(s) you will not get the warning.

Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

disabling macro 2
open sheet more than once? 6
Excel Macro Warning problems 1
Windows Vista Windows Installer Configures System 0
Macro Pop-Up Message 1
Macro? 1
What wrong is macro with signcert? 6
Disable Macro Alert 2

Top