Book description
SAVE TIME AND SUPERCHARGE EXCEL 2013 WITH VBA AND MACROS!
Use Excel® 2013 VBA and Macros to automate virtually any routine task, and save yourself hours, days, maybe
even weeks. Then, learn how to make Excel do things you thought were simply impossible! You’ll discover macro
techniques you won’t find anywhere else and learn how to create automated reports that are amazingly powerful
and useful. Bill Jelen and Tracy Syrstad show how to instantly visualize information, so you and your colleagues
can understand and act on it…how to capture data from anywhere, and use it anywhere…how to automate
Excel 2013’s most valuable new features. Mastering advanced Excel macros has never been easier. You’ll find
simple, step-by-step instructions, real-world examples and case studies, and 50 workbooks packed with bonus
examples, macros, and solutions–straight from MrExcel.
• Get started fast with Excel 2013 macro development
• Write macros that use Excel 2013 enhancements, including Timelines and the latest pivot table models
• Work efficiently with ranges, cells, and R1C1-style formulas
• Build super-fast applications with arrays
• Write Excel 2013 VBA code that works on older versions of Excel
• Create custom dialog boxes to collect information from your users
• Use error handling to make your macros more resilient
• Use web queries and new web service functions to integrate data from anywhere
• Master advanced techniques such as classes, collections, and custom functions
• Build sophisticated data mining and business analysis applications
• Read and write to both Access and SQL Server databases
• Control other Office programs–and even control Windows itself
• Start writing Excel Apps similar to those in the Excel App Store
About MrExcel Library: Every book in the MrExcel Library pinpoints a specific set of crucial Excel tasks
and presents focused skills and examples for performing them rapidly and effectively. Selected by Bill Jelen,
Microsoft Excel MVP and mastermind behind the leading Excel solutions website MrExcel.com, these books will
• Dramatically increase your productivity–saving you 50 hours a year or more
• Present proven, creative strategies for solving real-world problems
• Show you how to get great results, no matter how much data you have
• Help you avoid critical mistakes that even experienced users make
Table of contents
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Author
- Dedication
- Acknowledgments
- We Want to Hear from You!
- Reader Services
- Introduction
- 1. Unleash the Power of Excel with VBA
- 2. This Sounds Like BASIC, So Why Doesn’t It Look Familiar?
-
3. Referring to Ranges
- The Range Object
- Syntax to Specify a Range
- Named Ranges
- Shortcut for Referencing Ranges
- Referencing Ranges in Other Sheets
- Referencing a Range Relative to Another Range
- Use the Cells Property to Select a Range
- Use the Offset Property to Refer to a Range
- Use the Resize Property to Change the Size of a Range
- Use the Columns and Rows Properties to Specify a Range
- Use the Union Method to Join Multiple Ranges
- Use the Intersect Method to Create a New Range from Overlapping Ranges
- Use the ISEMPTY Function to Check Whether a Cell Is Empty
- Use the CurrentRegion Property to Select a Data Range
- Use the Areas Collection to Return a Noncontiguous Range
- Referencing Tables
- Next Steps
- 4. Looping and Flow Control
- 5. R1C1-Style Formulas
- 6. Create and Manipulate Names in VBA
- 7. Event Programming
- 8. Arrays
-
9. Creating Classes, Records, and Collections
- Inserting a Class Module
- Trapping Application and Embedded Chart Events
- Creating a Custom Object
- Using a Custom Object
- Using Property Let and Property Get to Control How Users Utilize Custom Objects
- Using Collections to Hold Multiple Records
- Using User-Defined Types to Create Custom Properties
- Next Steps
- 10. Userforms: An Introduction
-
11. Data Mining with Advanced Filter
- Replacing a Loop with AutoFilter
- Advanced Filter Is Easier in VBA Than in Excel
- Using Advanced Filter to Extract a Unique List of Values
- Using Advanced Filter with Criteria Ranges
- Using Filter in Place in Advanced Filter
- The Real Workhorse: xlFilterCopy with All Records Rather Than Unique Records Only
- Next Steps
- 12. Using VBA to Create Pivot Tables
- 13. Excel Power
- 14. Sample User-Defined Functions
- 15. Creating Charts
- 16. Data Visualizations and Conditional Formatting
- 17. Dashboarding with Sparklines in Excel 2013
- 18. Reading from and Writing to the Web
- 19. Text File Processing
-
20. Automating Word
- Using Early Binding to Reference the Word Object
- Using Late Binding to Reference the Word Object
- Using the New Keyword to Reference the Word Application
- Using the CreateObject Function to Create a New Instance of an Object
- Using the GetObject Function to Reference an Existing Instance of Word
- Using Constant Values
- Understanding Word’s Objects
- Controlling Form Fields in Word
- Next Steps
- 21. Using Access as a Back End to Enhance Multiuser Access to Data
- 22. Advanced Userform Techniques
- 23. Windows API
- 24. Handling Errors
-
25. Customizing the Ribbon to Run Macros
- Out with the Old, In with the New
- Where to Add Your Code: customui Folder and File
- Creating the Tab and Group
- Adding a Control to Your Ribbon
- Accessing the File Structure
- Understanding the RELS File
- Renaming the Excel File and Opening the Workbook
- Using Images on Buttons
- Troubleshooting Error Messages
- Other Ways to Run a Macro
- Next Steps
- 26. Creating Add-Ins
- 27. An Introduction to Creating Apps for Office
- 28. What Is New in Excel 2013 and What Has Changed
- Index
Product information
- Title: Excel® 2013 VBA and Macros
- Author(s):
- Release date: February 2013
- Publisher(s): Que
- ISBN: 9780133259469
You might also like
video
Microsoft Excel - Creating Dynamic Dashboards
In this Microsoft Excel - Creating Dynamic Dashboards training course, expert author Erin Olsen teaches you …
video
Visual Basic for Microsoft Excel
In this VB for Excel training course, you will learn how to apply the VBA programming …
video
Power BI Data Visualization with Purpose: Communicating through Color, Shape, and Layout
This video explains how to create Power BI visuals that provide a good user experience. The …
book
Handbook of Serial Communications Interfaces
This book catalogs the most popular and commonly used serial-port interfaces and provides details on the …