11.08.2013 Views

Excel's Formula - sisman

Excel's Formula - sisman

Excel's Formula - sisman

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

600<br />

Part VI: Developing Custom Worksheet Functions<br />

If your goal is to become a VBA expert, this book nudges you in that direction, but it<br />

does not get you to your final destination. You may want to check out another book of<br />

mine: Excel 2010 Power Programming with VBA (Wiley). That book covers all aspects of<br />

VBA programming for Excel.<br />

Displaying the Developer Tab<br />

If you plan to work with VBA macros, you’ll want to make sure that the Developer tab is displayed<br />

in Excel. To display this tab<br />

1. Right-click anywhere in the Ribbon, and select Customize the Ribbon to display the<br />

Customize Ribbon tab of the Excel Options dialog box.<br />

2. In the list box on the right, place a check mark next to Developer.<br />

3. Click OK to return to Excel.<br />

After completing these steps, the Developer tab will always be displayed. Figure 22-1 shows how<br />

the Ribbon looks when the Developer tab is selected.<br />

Figure 22-1: The Developer tab, which does not display by default, contains commands that are useful<br />

for VBA users.<br />

About Macro Security<br />

Macros have the potential to cause serious damage to your computer. Consequently, Microsoft<br />

has added macro security features to help prevent macro-related problems.<br />

Figure 22-2 shows the Macro Settings section of the Trust Center dialog box. To display this dialog<br />

box, choose Developer➜Code➜Macro Security.<br />

By default, Excel uses the Disable All Macros with Notification option. With this setting in effect, if<br />

you open a workbook that contains VBA macros (and the file is not digitally “signed” or is from an<br />

untrusted location), Excel displays a Security Warning above the <strong>Formula</strong> bar (see Figure 22-3).<br />

If you are certain that the workbook comes from a trusted source and that the macros are safe,<br />

click the Enable Content button to enable the macros in the workbook.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!