Page 30 - Excel 2007 Bible
P. 30

02_044039 ftoc.qxp  11/21/06  10:53 AM  Page xxix
                                                                                                                  Contents
                                                      The Covariance tool........................................................................................................670
                                                      The Descriptive Statistics tool ........................................................................................670
                                                      The Exponential Smoothing tool ....................................................................................671
                                                      The F-Test (two-sample test for variance) tool ................................................................671
                                                      The Fourier Analysis tool................................................................................................672
                                                      The Histogram tool ........................................................................................................672
                                                      The Moving Average tool ................................................................................................673
                                                      The Random Number Generation tool ............................................................................673
                                                      The Rank and Percentile tool ..........................................................................................675
                                                      The Regression tool ........................................................................................................675
                                                      The Sampling tool ..........................................................................................................676
                                                      The t-Test tool ................................................................................................................676
                                                      The z-Test (Two-Sample Test for Means) tool ..................................................................677
                                                                                                                    679
                                             Part VI: Programming Excel with VBA
                                             Chapter 39: Introducing Visual Basic for Applications . . . . . . . . . . . . 681
                                                 Introducing VBA Macros ..........................................................................................................681
                                                 Displaying the Developer tab ....................................................................................................681
                                                 About Macro Security................................................................................................................682
                                                 Saving Workbooks That Contain Macros ..................................................................................684
                                                 Two Types of VBA Macros..........................................................................................................684
                                                      VBA Sub procedures ......................................................................................................684
                                                      VBA functions ................................................................................................................685
                                                 Creating VBA Macros ................................................................................................................687
                                                      Recording VBA macros....................................................................................................687
                                                           Recording your actions to create VBA code: The basics ........................................687
                                                           Recording a macro: A simple example ..................................................................688
                                                           Examining the macro............................................................................................688
                                                           Testing the macro ................................................................................................689
                                                           Editing the macro ................................................................................................689
                                                           Another example ..................................................................................................690
                                                           Examining the macro............................................................................................690
                                                           Testing the macro ................................................................................................691
                                                      More about recording VBA macros..................................................................................692
                                                           Absolute versus relative recording ........................................................................692
                                                           Storing macros in your Personal Macro Workbook ..............................................692
                                                           Assigning a macro to a shortcut key......................................................................693
                                                           Assigning a macro to a button ..............................................................................693
                                                      Writing VBA code ..........................................................................................................694
                                                           The basics: Entering and editing code ..................................................................694
                                                           How VBA works ..................................................................................................695
                                                           Objects and collections ........................................................................................697
                                                           Properties ............................................................................................................697
                                                           Methods ..............................................................................................................699
                                                           Variables ..............................................................................................................699
                                                           Controlling execution ..........................................................................................699
                                                           A macro that can’t be recorded..............................................................................701
                                                 Learning More ..........................................................................................................................702
                                                                                                                      xxix
   25   26   27   28   29   30   31   32   33   34   35