Welcome To The CPearson.com web site.

Welcome

This web site is brought to you as a public service by Chip Pearson and Pearson Software Consulting, LLC. We provide complete consulting and custom application design and development for Excel, Office, Visual Basic, and the NET Framework in VB.NET and C#. For more information about how to turn Excel into a powerful application platform, contact Chip Pearson at (816) 922-0009. Please call between 10:00 AM and 9:00 PM, USA Central Time (-6:00 UTC).

This web site contains about 500 individual topic pages that together cover all aspects of Excel, from simple formulas through Automation and COM Add Ins and into the NET Framework. The content is aimed at the intermediate level user although there is plenty of content for both beginners and expert users. Much of the content is VB/VBA/VBNET code, and those pages assume that you are conversationally familiar with VB/VBA programming. I have been a professional computer programmer for almost twenty-five years, fifteen years of that in the Windows/VB/VBA/Excel world. The topics presented on the site are drawn from my real world experience. There are approximately 250 downloadable files, which include sample workbooks, VB/VBA modules, VB Project source code and compiled DLL files.

The content of the site provides you with the tools you need to create workbooks and VBA projects. Since it is impossible to be all things to all people, the workbooks, formulas, and code examples are rather generic, allowing you to readily customize them for your own particular needs. The formulas and code appearing on this site should work in any version of Excel, version 97 or later, unless noted otherwise. Most of the VBA code should work in Excel 97 and later, but I do make use of the enhanced features of VBA version 6, which was introduced with Excel 2000.

I have not yet upgraded all the modules to 64-bit Office, so some of the code may not work in 64-bit Office, especially code that uses the Windows API functions with the Declare syntax. Don't confuse 64-bit Office with 64-bit Windows. All of the code will work fine in 32-bit Office, regardless of whether you have 64-bit or 32-bit Windows.

Help Logo




Page Index

Topic Index

Search The Site

What's New


Contact Chip Pearson
chip@cpearson.com
Before you send me an email,
read this page.

Phone:
(816) 922-0009
(816) 325-9822
10:00 AM to 8:00 PM
USA Central Time (-6:00 UTC)
(If you do call, please do not
call on a speaker phone, especially
not a speaker phone on a mobile phone.
They don't work well enough.)

What's New On The Site

The list below shows only the ten or so most recent additions to the web site out of a total of about 500 individual topic pages. For a complete chronological list of updates, see the What's New page. You can also locate pages from the Page Index or the Topic Index.(Last Updated 23-Jan-2017)

A list of all the downloadable zip files on the web site. (23-Jan-2017)

Lots of internal housekeeping, fixed or updated broken links, lots of minor page edits. (25-April-2016)

The web site's Master page, which displays the content of all the other pages has been completely rewritten. It has a cleaner and more streamlined look and feel. I hope you like it.
(03-Sept-2014)

I've added some new formuals that allow you to get the name of the folder that contains a file or the file that contains the formula. I already had formulas to get the entire fully qualified path (e.g., C:\SomeFolder\AnotherFolder. The new formulas will return just the name of the of the folder containing the file. No other path information is returned. The formulas take into account and work properly if the file is directly under the root of a drive (e.g., F:\MyFile.xls. Also, support is given to two types of file names. First are the canonical form, like C:\Folder\OtherFolder\File.xls. The other type is for the format returned by the CELL function in Excel, where the file format is like F:\TFolder\OtherFolder\[MyFil.xls]SheetName. You can view these formulas at Cell Worksheet Functoions.
(03-Sept-2014)

The Implements Page provides a detailed and in-depth examination of Inteferaces in VBA and how to Implement an Interface in a class module. Interfaces are an intermediate to advanced level topic. They are not widely used in VBA project because they are not widely known. However, once you understand what an interface is and how to implement in in a class, you have a very powerful programming technique at your disposal. Interfaces should definitely be part of the VBA programmer's arsenal of programming techniques. This page includes a downloadable workbook with all the code described on the page. While the example is in Excel, interfaces are part of the core VBA library and can be used in any VBA application. A solid understanding of classes in general is required to make use of interfaces.
(17-June-2014)

The Downloads Page has been completely rewritten to make finding the right download much easier. It display a list of dowloadable zip files, a list of the files contained within a zip file, and a list of pages that reference that zip file. You can download the entire zip file, or you can download just one file contained within a zip file. You can also view the content of any file contained within a zip file.
(23-Dec-2013)

The Site Feedback Page has been completely rewritten to make it easier to use to send comments, suggestions, and questions back to me. A new feature allows you to upload a file along with your message if you feel that an example file will clarify your question or comment. I welcome all comments, suggestions, questions, and, yes, bug reports.
(19-Dec-2013)

This page describes problems that can occur with the MOD worksheet function and the Mod operator in VBA if you are working with very large numbers. The problem with the worksheet function was fixed in Excel 2007 but it present in Excel 2003. The problem in VBA exists in all version of Excel, including Excel 2013.
(3-Nov-2013)

This page describes formulas you can use to find the first and last elements in a row or column range, and the positions of those elements.
(5-Jan-2013)

This page describes VBA's built-in debugging tools and how to use them.
(5-Jan-2013)

DirTree Directory Tree Builder has a number of added features and options.
(3-Jan-2013)

This page describes how to use formulas to determine the last non-blank cell in a column or row.
(24-Nov-2012)

This page describes how and why you should use the Break In Class Module error trapping setting.
(27-Oct-2012)

DirTree Additional Features A new feature has been added to the DirTree add-in that allows you to control the depth of folder hierarchy to be processed by the scanner.
(26-Oct-2012)

   
ShortFadeBar
LastUpdate This page last updated: 25-April-2016.

-->