programming4us
 
Office
 

Microsoft Excel 2010 : Enabling and Examining Macros (part 1) - Macro Security in Excel 2010

4/12/2014 9:03:48 PM

It’s possible for unscrupulous programmers to write viruses and other harmful programs by using the Microsoft Visual Basic for Applications (VBA) programming language, so you need to be sure that you don’t run macros from unknown sources. In addition to running protective software such as Windows Defender, you can also change your Excel macro security settings to control when macros can be run. After you’re sure a macro is safe, you open it in the Visual Basic Editor to examine its code.

Macro Security in Excel 2010

In versions of Excel prior to Excel 2007, you could define macro security levels to determine which macros, if any, your workbooks would be allowed to run, but there was no workbook type in which all macros were disallowed. Excel 2010 has several file types you can use to control whether a workbook will allow macros to be run. The following table summarizes the macro-related file types.

Extension

Description

.xlsx

Regular Excel 2010 workbook; macros are disabled

.xlsm

Regular Excel 2010 workbook; macros are enabled

.xltx

Excel 2010 template workbook; macros are disabled

.xltm

Excel 2010 template workbook; macros are enabled

When you open a macro-enabled workbook, the Excel program-level security settings might prevent the workbook from running the macro code. When that happens, Excel displays a security warning on the Message Bar.

Macro Security in Excel 2010

Troubleshooting

The appearance of buttons and groups on the ribbon changes depending on the width of the program window.

Clicking the Enable Content button lets the workbook use its macros. Always take the time to verify the workbook’s source and consider whether you expected the workbook to contain macros before you enable the content. If you decide not to enable the macros in a workbook, click the Close button at the right edge of the Message Bar.

You can change your program-level security settings to make them more or less restrictive; to do so, click the File tab, click Options, and then, in the Excel Options dialog box, click the Trust Center category. On the page that appears, click the Trust Center Settings button to display the Trust Center dialog box.

Troubleshooting

The Excel default macro security level is Disable All Macros With Notification, which means that Excel displays a warning on the Message Bar but allows you to enable the macros manually. Selecting the Disable All Macros Without Notification option does exactly what the label says. If Consolidated Messenger’s company policy is to disallow all macros in all Excel workbooks, its employees would select the Disable All Macros Without Notification option.

Important

Because it is possible to write macros that act as viruses, potentially causing harm to your computer and spreading copies of themselves to other computers, you should never choose the Enable All Macros security setting, even if you have virus-checking software installed on your computer.

 
Others
 
- Microsoft Project 2010 : Maintaining Baselines (part 3) - Resetting a Baseline , Multiple Baselines
- Microsoft Project 2010 : Maintaining Baselines (part 2) - Rolling-Wave Planning with Baselines
- Microsoft Project 2010 : Maintaining Baselines (part 1) - Clearing a Baseline
- Microsoft Project 2010 : Viewing Baselines (part 2) - Formatting the Gantt Chart to Display the Baseline
- Microsoft Project 2010 : Viewing Baselines (part 1) - Tracking Gantt View and the Variance Table
- Microsoft Project 2010 : Understanding and Setting Baselines
- Microsoft Project 2010 : Strategic Importance of Project 2010
- Microsoft PowerPoint 2010 : Animating a SmartArt Graphic (part 2) - Apply a Customized Animation to a SmartArt Graphic, Reverse the Order of a SmartArt Graphic Animation
- Microsoft PowerPoint 2010 : Animating a SmartArt Graphic (part 1) - Animate a SmartArt Graphic
- Microsoft PowerPoint 2010 : Coordinating Multiple Animations (part 2) - Set Time Between Animations,Modify an Animation
 
 
REVIEW
 
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- Sigma 24mm f/1.4 DG HSM Art

- Canon EF11-24mm f/4L USM

- Creative Sound Blaster Roar 2

- Alienware 17 - Dell's Alienware laptops

- Smartwatch : Wellograph

- Xiaomi Redmi 2
 
VIDEO TUTORIAL
 
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
 
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
 
Top 10
 
- Setup Free Media Server To Stream Videos To DLNA Compatible TV, Xbox 360 & PS3 (Play Station 3)
- How To Install Android Market & Google Apps On Kindle Fire
- How To Make Ubuntu Look Like Windows 7
- How To Add A New Account in MS Outlook 2013
- Get Android & Mac OS X Style Gadgets For Windows 7 & Windows 8 With XWidget
- How To Activate Microsoft Office 2013
- How To Install Actual Facebook App On Kindle Fire
- How To Create, View And Edit Microsoft Office Files On Kindle Fire
- Download Attractive Business PowerPoint Templates For Free At SlideHunter
- How To Use And Enable Hibernate & Sleep Mode In Windows 8