Chapter 23. Working with Widely Used Objects in Excel
In the previous chapter, you learned to work with some of the main objects in the Excel object model, such as Workbook
objects, the ActiveCell
object, Range
objects, and the Options
object. This chapter shows you how to expand your programming facility with VBA in Excel by working with charts, windows, and Find and Replace.
In this chapter you will learn to do the following:
Work with charts
Work with windows
Work with Find and Replace
Working with Charts
The following sections show you how to use VBA to create and format charts, either as entire chart sheets in a workbook or as objects on an existing worksheet.
Creating a Chart
VBA uses the Chart
object to represent a chart on a chart sheet and a ...
Get Mastering VBA for Microsoft® Office 2010 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.