Updated for Excel 2019 and based on the bestselling editions from previous versions, Microsoft Excel 2019 Programming by Example with VBA, XML and ASP is a practical, how-to book on Excel programming, suitable for readers already proficient withthe Excel user interface (UI). If you are looking to automate Excel routine tasks, this book will progressively introduce you to programming concepts via numerous illustrated hands-on exercises. More advanced topics are demonstrated via custom projects. From recording and editing a macro and writing VBA code to working with XML documents and using Classic ASP pages to access and display data on the Web, this book takes you on a programming journey that will change the way you work with Excel. The book providesinformation on performing automatic operations on files, folders, and other Microsoft Office applications. It also covers proper use of event procedures, testing and debugging, and guides you through programming advanced Excel features such as Pivot Tables, Pivot Charts, and the Ribbon interface.
Contains 28 chapters loaded with illustrated Hands-On exercises and projects that guide you through the VBA programming language. Each example tells you exactly where to enter code, how to test it, and then run it. Takes you from introductory topics--including recording and editing macros, using variables, andconstants, writing subroutines/functions, conditional statements, and variousmethods of coding loops to repeat actions--to intermediate and advanced topics that include working with collections, class modules, arrays, file and database access, custom forms, error handling and debugging. Includes comprehensive coverage of native file handling in VBA, Windows Scripting Host (WSH), and low-level File Access. Demonstrates how to interact with Microsoft Access databases using both ADO and DAO Object Libraries to access and manipulate data. Includes chapters on programming charts, Pivot Tables, dialog boxes, custom forms, the Ribbon, Backstage View, context/shortcut menu customizations, as well as proper use of event procedures and callbacks. Provides a quick, Hands-On introduction to the data analysis and transformation processes using the Power Query feature and the M language formulas. Provides a practical coverage of using Web queries, HTML, XML, and VB Script in Classic ASP to retrieve and publish Excel data to the Web. ON THE COMPANION FILES (also available for download from the publisher by emailing proof of purchase to firstname.lastname@example.org) All source code and supplemental files for the Hands-On exercises and custom projects All images from the text (including 4-colour screenshots)