Chapter 23. Excel and Visual Basic 6

Before we begin this chapter, we must make note of the fact that Visual Basic 6 is no longer sold by Microsoft. Its place has been taken by VB.NET, which is a very different programming language despite the similarity of its name to VB6. However, VB6 is still used by working programmers all over the world. VBA is the primary programming language for all current versions of Excel, and it will continue to be so for some time to come. VBA and VB6 are closely related and work well together, so the case for using VB6 to extend the powers of VBA is still a strong one.

If you do not already have a copy of VB6, it may be difficult to locate one. Check online auction sites such as eBay. Many used bookstores also sell ...

Get Professional Excel Development: The Definitive Guide to Developing Applications Using Microsoft Excel, VBA, and .NET, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.