Category: VBA

Creating a Debugging Mode

I can't claim the original idea for this article. The concept actually comes from Professional Excel Development, but I developed the code, such as it is here, on my own. The reason for this was because I couldn't find it

Read More »

Maintaining Version and Build Information

Introduction: This article shows the method I use to maintain versions and builds in my applications and add-ins, which is to add properties to the ThisWorkbook module. These properties store their values in custom document properties, accessed from File|Properties|Custom, as

Read More »

Deploying Add-ins in a Network Environment

Introduction The purpose of this article is to provide corporate developers with a method to release, maintain and update an add-in in a network environment. This is based upon my strategies for doing this same. Assumptions made in this article

Read More »

Send Email Using ClickYes

Introduction Every now and then, you may need to send an email from another application through Outlook. If you've ever thought about automating this process using Outlook 2000, Outlook 2002 or Outlook 2003, then no doubt you've run into the

Read More »

Print To Picture Using PDFCreator

This article contains code examples to print worksheets to PDF files in a picture format, including: pdf, png, jpg, bmp, pcx, tif, ps (postscript), eps and txt. This code example is built for PDFCreator, an open source PDF writer utility.

Read More »

Resetting PDFCreator Options via Code

This article contains code examples to reset some (but not all) of the default settings of PDFCreator. These code examples are built for PDFCreator, an open source PDF writer utility. Unlike Adobe Acrobat and CutePDF, which both require pro versions

Read More »

Using PDFCreator with security options set

This article shows how to use PDFCreator to make a PDF that leverages some of their security features. Specifically, we'll create a file that uses: A "File open" password 128 bit encryption Preventing content copying Preventing modification Preventing printing These

Read More »

Restore Default Comment Colour

Restores default yellow colour for all comment on the worksheet. Can easily be modified to change all comments to a different colour by changing the value of the lDefaultCommentColor variable. Where to place the code: This code goes in a

Read More »