macro's

LuvExcel130

New Member
Joined
Oct 28, 2010
Messages
8
hi Does anyone know about security levels? I don't understand why I can create macro's in Excel but I need to turn the security level to low in order for it to work. Why is it potentially harmful to my computer to have a macro that I created in Excel?
 

Some videos you may like

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

shg

MrExcel MVP
Joined
May 7, 2008
Messages
21,770
Office Version
  1. 2010
Platform
  1. Windows
You should never, ever set your security level to Low. Five lines of malicious code can clean your computer's clock.

Set it to disable macros with notification, so that you can enable them if they are from a trusted source. If you don't want to be prompted to enable your own macros, sign the project and trust yourself as a publisher.
 

LuvExcel130

New Member
Joined
Oct 28, 2010
Messages
8
Thanks a lot!! So how would I go about signing the project and trust yourself as a publisher?
 

shg

MrExcel MVP
Joined
May 7, 2008
Messages
21,770
Office Version
  1. 2010
Platform
  1. Windows
I just realized that this is posted in the Lounge. How about asking your question in the forum?
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
54,488
Office Version
  1. 365
Platform
  1. Windows
I moved it to the Excel forum for you.

I agree with shg, NEVER set your Security Level to Low.

Here is a link that describes how you can create a Self-Cert sign you can sign your VBA projects. I use it all the time, and it works well. http://www.mrexcel.com/forum/showthread.php?t=110793

You could also set "Trusted Locations" on your computer, that tells it that any files stored in a specific file directory are safe to run. http://office.microsoft.com/en-us/e...sted-location-for-your-files-HA010354311.aspx
 

Watch MrExcel Video

Forum statistics

Threads
1,109,359
Messages
5,528,226
Members
409,809
Latest member
VICKRAM

This Week's Hot Topics

  • Change military grades into rank
    Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
  • VBA COUNTIF SOLUTION
    Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
  • INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
    Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top