Synopsis
Dissect and Learn Excel VBA in 24 Hours is a series of quick references designed for intermediate users seeking ideas and sample VBA code to accomplish specific tasks while writing programs. Throughout this series, you'll find thousands of concise, functional VBA code snippets that demonstrate how to perform many simple yet meaningful tasks. These include adding a new workbook, auto-filling a range, sorting a data table, generating a table of contents for all chart sheets and worksheets in a workbook, looping through and manipulating a folder of Excel files, placing controls on the Ribbon, sending emails, and logging into an online account.
Book 1: Changing Workbook Appearance focuses on modifying various visual elements of Excel, including worksheet cells, individual worksheets within a workbook, row and column headings, sheet tabs, worksheet layout views, the status bar, the formula bar, the Ribbon, and the Cell context menu.
This series is intended for readers with at least a basic understanding of Excel VBA programming. To follow the discussions effectively, readers should be familiar with Sub and Function procedures, the Visual Basic Editor (VBE), how to add VBA modules to a workbook, how to set references to application type libraries, how to enable the Auto List Members feature in the VBE, how to use Excel’s Macro Recorder to discover methods and properties of unfamiliar objects, how to use the Object Browser to explore a complete list of an object’s members, how to write simple procedures, where to store code within VBA modules, and how to use the debugging tools in the VBE.
If you're new to Excel VBA, it's recommended that you learn the basics before diving into this series. You may refer to either my earlier book titled Learn ExcelŽ VBA in 24 Hours or a future book titled Learn Excel VBA, each written specifically for newcomers. I hope this series serves as a quick reference to help you write an unlimited number of functional VBA programs. Let Excel VBA work for you.
From the Author
There are three supplementary files for the book:
1. A file containing the VBA and XML code in the book
- It facilitates the process of copying the code in the book and pasting it into Visual Basic Editor (VBE) and Custom UI Editor.
2. The Mso Image browser
- It allows you to browse through thousands of predefined images and select a suitable image for your control.
3. The macro-enabled workbook for the sample program
- The program adopts most of the ideas discussed in the book in changing the appearance of a workbook. Following the descriptions in the book, you can see how it changes the appearances of some components in the workbook. The file is not password protected. You can study the VBA code and the XML code.
The URLs of the three files are stated in the book.
"About this title" may belong to another edition of this title.