Page 33 - Excel 2007 Bible
P. 33
02_044039 ftoc.qxp 11/21/06 10:53 AM Page xxxii
Contents
Looping through a range efficiently ................................................................................760
Prompting for a cell value ..............................................................................................762
Determining the type of selection....................................................................................762
Identifying a multiple selection ......................................................................................763
Counting selected cells....................................................................................................763
Working with Workbooks ........................................................................................................764
Saving all workbooks......................................................................................................764
Saving and closing all workbooks ..................................................................................764
Working with Charts ................................................................................................................765
Modifying the chart type ................................................................................................765
Modifying chart properties..............................................................................................766
Applying chart formatting ..............................................................................................766
VBA Speed Tips ........................................................................................................................766
Turning off screen updating ............................................................................................767
Preventing alert messages................................................................................................767
Simplifying object references ..........................................................................................767
Declaring variable types ..................................................................................................768
Chapter 45: Creating Custom Excel Add-Ins . . . . . . . . . . . . . . . . . 771
What Is an Add-In? ..................................................................................................................771
Working with Add-Ins ..............................................................................................................772
Why Create Add-Ins? ................................................................................................................773
Creating Add-Ins ......................................................................................................................774
An Add-In Example ..................................................................................................................775
Setting up the workbook ................................................................................................775
Procedures in Module1 ..................................................................................................776
About the UserForm ......................................................................................................776
Testing the workbook ....................................................................................................777
Adding descriptive information ......................................................................................778
Protecting the project......................................................................................................778
Creating the add-in ........................................................................................................779
Creating the user interface for your add-in macro ..........................................................779
Installing the add-in........................................................................................................780
Part VII: Appendixes 783
Appendix A: Worksheet Function Reference . . . . . . . . . . . . . . . . . 785
Appendix B: What’s on the CD-ROM . . . . . . . . . . . . . . . . . . . . . 799
Appendix C: Additional Excel Resources . . . . . . . . . . . . . . . . . . . 809
Appendix D: Excel Shortcut Keys . . . . . . . . . . . . . . . . . . . . . . . 815
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 823
Wiley Publishing, Inc. End-User License Agreement . . . . . . . . . . . . . 869
xxxii