Excel 2007 Power Programming with VBA (Mr. Spreadsheets Bookshelf)

 Download CD Content

Overview

In This Chapter

In this chapter, I describe how to use Visual Basic for Applications (VBA) to perform common (and not so common) file operations and work directly with text files.

Many applications that you develop for Excel require working with external files. For example, you might need to get a listing of files in a directory, delete files, rename files, and so on. Excel, of course, can import and export several types of text files. In many cases, however, Excel's built-in text file handling isn't sufficient. For example, you might want to export a range of cells to a simple HyperText Markup Language (HTML) file.

Категории