VBA and Macros for Microsoft Office Excel 2007
<P style="MARGIN: 0px">“In this day and age of ‘too much information and not enough time,’ the ability to get to the bottom line quickly and in a concise method is what excels companies to the top of their industry. The techniques in this book will allow you to do things you only dreamt of.â€</P> <P style="MARGIN: 0px">—Jerry Kohl, president of Brighton Collectibles</P> <P style="MARGIN: 0px"> </P> <P style="MARGIN: 0px">Develop your Excel macro programming skills using VBA instantly with proven techniques</P> <P style="MARGIN: 0px"> </P> <P style="MARGIN: 0px">Automate Reports </P> <P style="MARGIN: 0px">Handle Errors </P> <P style="MARGIN: 0px">Master Pivot Tables </P> <P style="MARGIN: 0px">Produce Charts </P> <P style="MARGIN: 0px">Build User-Defined Functions </P> <P style="MARGIN: 0px">Migrate to Excel 2007 </P> <P style="MARGIN: 0px">Query Web Data </P> <P style="MARGIN: 0px">Build Dialog Boxes </P> <P style="MARGIN: 0px">Use Data Visualizations </P> <P style="MARGIN: 0px">Automate Word</P> <P style="MARGIN: 0px"> </P> <P style="MARGIN: 0px"> </P> <P style="MARGIN: 0px">You are an expert in Excel, but the macro recorder doesn’t work and you can’t make heads or tails out of the recorded code. If this is you, buy this book. Macros that you record today might work today but not tomorrow. Recorded macros might handle a dataset with 14 records but not one with 12 or 16 records. These are all common problems with the macro recorder that unfortunately cause too many Excel gurus to turn away from writing macros. This book shows you why the macro recorder fails and the steps needed to convert recorded code into code that will work every day with every dataset. The book assumes that you know Excel well, but there is no need for prior programming experience. This book describes everything you could conceivably need to know to automate reports and design applications in Excel VBA. Whether you want to automate reports for your office or design full-blown applications for others, this book is for you.</P> <UL> <LI> <DIV style="MARGIN: 0px">Learn VBA syntax as easy-to-understand English</DIV> <LI> <DIV style="MARGIN: 0px">Automate Excel’s power tools: Pivot Tables, Charts, Advanced Filters</DIV> <LI> <DIV style="MARGIN: 0px">Save hours per week by automating redundant tasks</DIV> <LI> <DIV style="MARGIN: 0px">Create applications built on top of Excel with custom dialog boxes</DIV> <LI> <DIV style="MARGIN: 0px">Automatically produce hundreds of Excel reports in seconds</DIV> <LI> <DIV style="MARGIN: 0px">Understand how changes in Excel 2007 impact your VBA macros</DIV> </LI> </UL> <P style="MARGIN: 0px">Introduction  1</P> <P style="MARGIN: 0px">1 Unleash the Power of Excel with VBA     7</P> <P style="MARGIN: 0px">2 This Sounds Like BASIC, So Why Doesn’t It Look Familiar?      29 </P> <P style="MARGIN: 0px">3 Referring to Ranges 61 </P> <P style="MARGIN: 0px">4 User-Defined Functions    75</P> <P style="MARGIN: 0px">5 Looping and Flow Control  101</P> <P style="MARGIN: 0px">6 R1C1-Style Formulas       121</P> <P style="MARGIN: 0px">7 What’s New in Excel 2007 and What's Changed 135</P> <P style="MARGIN: 0px">8 Create and Manipulate Names in VBA     143</P> <P style="MARGIN: 0px">9 Event Programming 155</P> <P style="MARGIN: 0px">10 UserForms--An Introduction      177</P> <P style="MARGIN: 0px">11 Creating Charts   197</P> <P style="MARGIN: 0px">12 Data Mining with Advanced Filter         249</P> <P style="MARGIN: 0px">13 Using VBA to Create Pivot Tables        281</P> <P style="MARGIN: 0px">14 Excel Power        337</P> <P style="MARGIN: 0px">15 Data Visualizations and Conditional Formatting 373</P> <P style="MARGIN: 0px">16 Reading from and Writing to the Web             393</P> <P style="MARGIN: 0px">17 XML in Excel 2007 413</P> <P style="MARGIN: 0px">18 Automating Word 421</P> <P style="MARGIN: 0px">19 Arrays      441</P> <P style="MARGIN: 0px">20 Text File Processing    449</P> <P style="MARGIN: 0px">21 Using Access as a Back End to Enhance Multi-User Access to Data  461</P> <P style="MARGIN: 0px">22 Creating Classes, Records, and Collections      477</P> <P style="MARGIN: 0px">23 Advanced UserForm Techniques 493</P> <P style="MARGIN: 0px">24 Windows Application Programming Interface (API)      517</P> <P style="MARGIN: 0px">25 Handling Errors    529</P> <P style="MARGIN: 0px">26 Customizing the Ribbon to Run Macros  543</P> <P style="MARGIN: 0px">27 Creating Add-Ins 569</P> <P style="MARGIN: 0px">Index 577</P> <P style="MARGIN: 0px"> </P>