Most Valuable Professional


View Jan Karel Pieterse's profile on LinkedIn subscribe to rss feed
Subscribe in a reader

Home > English site > Downloads
Deze pagina in het Nederlands

Downloads

Acknowledgements

Some of the files on this page are also available at Stephen Bullen's website.

Excel versions

These files should all work in Excel 97, 2000, XP, 2003, 2007, 2010 and 2013, unless stated otherwise. For some downloads a dedicated version for Excel 2007/2010/2013 is available.

Donations

Do you like any of these tools? 

Excel add-ins and workbooks

Name of download Description and download link

RefTreeAnalyser

Ever had to work out the logic of other people's Excel files? Ever had to untie the spaghetti-knots of a large Excel workbook's formulas? Then you know what a nightmare this can be!

Now there is the RefTreeAnalyser!

Name Manager

The Name Manager An excellent utility to manage defined names in your workbooks.

FlexFind

Flexfind eases searching and replacing throughout an entire workbook. Also enables you to search and replace strings in objects such as headers and footers, chart titles, buttons and many, many more.

Autosafe

Autosafe.zip (Build 136, 08 Oct 2013, downloaded: 41246 times)

New in Autosafe: Autosafe keeps saving even if Excel is running in the background.

Version 3.5 of Autosafe enables use in environments with long paths/filenames. The standard Autosave (note the spelling) utility that ships with Excel just saves workbooks at a set interval, overwriting the file on disk. This is not very convenient if you planned to leave the master file intact and save the changed workbook using a different filename. It also does nothing to simplify recovery of unsaved/changed documents after a system crash. This Autosafe utility creates copies of open workbooks at regular intervals in a separate (user-selectable) directory. It does not overwrite the master file(s), that is up to the user to do, using normal methods. As soon as a workbook is closed the backup copy is deleted from the backup directory. If an abnormal termination of Excel occurs, the backup copies remain on disk, and Autosafe finds them the next time Excel is started and presents recovery options to the user.
Autosafe comes with an autoupdate function which checks for updates every week. Includes the following languages: English, Dansk, Deutsch, Espa˝ol, Franšais, Indonesia, Italiano, Nederlands, Norsk, Hrvatski, Slovenščina, Korean, Русский (Russian), Lithuanian and Hungarian.

The previous version is still available: Autosafe34.zip   (13 January 2003, 228k, downloaded: 6315 times) Note that this one shows a nag screen on networked computers.

Autosafe does not work on a Mac.

GoBack

GoBack.zip (8 February 2005, downloaded: 9111 times) Version 1.0 build 003.

Sometimes one has to edit a large workbook, with many worksheets. This tiny utility keeps a record of the ranges you have visited and gives you the opportunity to return to previous selections using two hot keys: control-alt-p to go to a previous selection and control-alt-n to go to the next. It also creates a toolbar with a dropdown to select a previous selection and  to disable/enable the utility.

FollowCellPointer

FollowCellPointer.zip (12 September 2010, downloaded: 8844 times) Version 1.0 build 007.

A small tool which follows your cell pointer by placing two arrows on top of your sheet pointing to the active cell. Does not change your formatting.

HeaderFooter

HeaderFooter.zip (28 January 2008, downloaded: 9585 times) Version 1.0 build 006.

Managing headers and footers in Excel can be a drag. This little tool helps you to change headers and footers in your files easily by means of a toolbar that shows dropdown/edit boxes in which you can type the header/footer codes directly or select them from the list of currently present header/footer codes in your file.

SetupUtility

SetupUtility.zip (Updated May 5, 2008, downloaded: 11729 times)

If you have created a nice add-in (see this article how to do that), a setup utility is an easy way for your users to install your addin. This free utility just needs you to change 4 cells to roll your own setup file.

Update: Now automatically removes invalid addins from addin list.

UpdateAnAddin

UpdateAnAddin.xls (Updated February 19, 2007, downloaded: 12547 times)

If you have created a nice add-in (see this article how to do that), an updating mechanism is an easy way to ensure your users get any bugfixes you did automatically . This download demonstrates how you can implement this functionality in your addin.

ShowTableOnUserform

ShowTableOnUserform.zip (14 May 2008, downloaded: 7156 times)

For a project I needed a quick way to display the content of an array to the user. I didn't want to use a worksheet, but opted for a userform. The data I wanted to show was contained in an array. So I figured I'd put a listbox on a userform and make sure the column widths of the listbox resize with the data I want shown. That proved far from easy... See this article on how it works.

FixLinks2UDF

FixLinks2UDF.zip (02 June 2008, downloaded: 4148 times)

A demo file that handles #Name! errors for workbooks that use UDFs that reside in an add-in. See this article on how that works.

QueryManager

QueryManager.zip (Build 017, 23 September 2010, downloaded: 12434 times)

This utility has been developed together with Dick Kusleika. It eases the editing of queries and Pivottable connections. One can:

1. Edit the SQL string and the connect string of queries and PivotCaches

2. Add parameters

3. Change the path to the data source

All in a single dialog.

AutosafeVBE

AutosafeVBE.zip (build 026, 6 Aug 2007, downloaded: 16645 times)

This utility makes backup copies of VBA components to a user-defined directory. It keeps a user selectable number of copies of each component. It thus keeps a number of generations of your code as your work progresses, enabling you to return to a previous copy when things go wrong. Because it just exports the VBA components, it is unobtrusive because this process is relatively fast compared to saving your workbook or document. Excel and Word version included!!

Non linear Least Squares

nonlinearls.zip (12 Apr 2012, downloaded: 5341 times) Fit complex functions like y=exp(a.x).sin(x) + b to data using Least squares

ExcelVBEMultilineSR

ExcelVBEMultilineSR.zip (Version 1.0, Build 004, 27 Nov 2008, downloaded: 5869 times)

This utility enables you to do Search and Replace operations in the Visual Basic Editor of Excel. What is special about this tool is that you can search for multiple lines of code and replace with multiple lines of code.
WARNING: ALPHA VERSION, USE AT OWN RISK!

CopyVBAProject

CopyVBAProject.zip (Version 1.0, Build 007, 05 Oct 2007, downloaded: 6417 times)

This utility enables you to copy the components from the VBAProject of workbook A to Workbook B
Build 004: Existing modules are removed before copying.
USE AT OWN RISK!

ExportVBAProject

ExportVBAProject.zip (Version 1.0, Build 001, 14 Oct 2011, downloaded: 2463 times)

This utility enables you to copy the components from a VBAProject to a single text file. Very useful if you need to compare the VBA code of two Excel files. Use this handy tool to compare differences in the exported files: ExamDiff

PerformanceClass

PerformanceClass.zip (Version 1.0, Build 001, 15 Apr 2014, downloaded: 65 times)

This example file demonstrates the use of a class module to measure performance of your VBA code.

TrustedDocumentManager

TrustedDocumentManager.zip (Version 1.0, Build 001, 10 oct 2013, downloaded: 529 times)

This little tool enables you to manage your list of trusted documents. Currently, Excel only allows you to either leave the list intact, or delete the entire list. This means all of your currently trusted documents become untrusted again so you have to enable macro's on all of them once again. The tool allows you to remove just one file, remove an entire folder or even an entire drive. Also it offers the possibility to remove files which no longer exist from the list.

Only available for Excel 2010 and up!

ObjectLister

Objectlister.zip (Version 1.0, Build 003, 1 October 2008, downloaded: 9268 times) Lists objects, properties and methods of the selected object and enables you to quickly build code that uses many properties of an object. See the ObjectLister page for more information.

Treeview

An All-VBA (MSforms) treeview control that makes the common controls treeview obsolete. Works in all Office versions as of Office 2000, including 64 bits and MAC office.

The Excel download contains most of the documentation (on the tabs of the workbook), so I recommend you to at least download the Excel version.

Download the treeview sample workbook (build 024, 20 May 2013, downloaded 6709 times)

Download the treeview sample Word document (build 024, 20 May 2013, downloaded 1735 times)

Download the treeview sample Access database (build 024, 20 May 2013, downloaded 5500 times)

See the accompanying article: An MSForms (all VBA) treeview

Treeview (Access mdb)

TreeviewOnAccessForm.zip (build 017, 18 Apr 2013, downloaded 809 times) An All-VBA (MSforms) treeview control that makes the common controls treeview obsolete. This is the same treeview as mentioned above, this time on an Access form. See the accompanying article: An MSForms (all VBA) treeview

AutoChrt

AutoChrt.zip (10 November 2000, downloaded: 17746 times)

Automates the process of creating graphs from database-like datasets, where you need to chart various columns against each other in x-y scatter charts to determine relationships between them. It consists of a sheet where to copy the data into and a sheet that holds the chart and some spinner-buttons to control which data are charted.

ChartAnEquation

ChartAnEquation.zip (May 1, 2005, downloaded: 9761 times)

Demonstrates a method to chart a mathematical equation using just defined names.
See this article for an explanation.

ControlHandler

ControlHandler.zip     (17 June 2005, downloaded: 7707 times)

Demonstrates a method to handle the events for multiple controls on a worksheet using a single class module. See this article for an explanation.

ControlLister

ControlLister.zip (1-10-2008, downloaded: 1835 times)

Tool that lists all controls on your userforms on a worksheet. Includes code to rebuild the userforms from the table. Note: does not handle userforms with multipage controls very well!

CatchPasteDemo

CatchPasteDemo.zip (17 Dec 2007, downloaded: 5963 times)

Demonstrates how to intercept paste operations in a workbook to prevent users from wrecking your validation. The download contains two workbooks; one for Excel 2003 and earlier, the other for Excel 2007 and 2010. See this article for an explanation.

UndoHandler

UndoHandler.zip     (8 March  2006, downloaded: 8219 times)

Demonstrates a method to enable the user to undo changes made by your VBA code. See this article for an explanation.

WatchOtherCell

WatchOtherCell.zip     (18 September 2012, downloaded: 7791 times)

This workbook simplifies looking at data in a sheet with a lot of columns. It shows the value of a cell on the same row in a column one can enter in a textbox. This way you can scroll all over the sheet and always (e.g.) have the value of a cell in column BE in view. Start the watcher by opening the file and using its entry in the Tools menu.

GetARange

GetARange.zip     (4 May 2006, downloaded: 10544 times)

This workbook demonstrates a bug in the VBA Application.InputBox function as described here. The workbook also contains a userform and sample code to work around that bug.

EditOpenXML

EditOpenXML.zip    (5 September 2011, downloaded: 6380 times)

Wouldn't it be useful to be able to edit the contents of an Office 2007 OpenXML file from within VBA? Well, now you can using this demo file. Find a full description here.

ModelessFormOnTop

ModelessformOnTop.zip (26 November 2012, downloaded: 1102 times)

Excel 2013 now has a SDI as opposed to the MDI previous Excel versions have. This file demonstrates how to keep a modeless userform on top of the Excel 2013 window.  Find a full description here.

Arg2Name

Arg2Name.zip     (8 February 2001, downloaded: 15240 times)

This workbook demonstrates a trick to pass (range) arguments to defined name formula's. As published in David Hagers' EEE #9, available from John Walkenbach's web site. See the Excel names page.

xlMenuFunDict

xlMenuFunDict.zip   (29 Jan 2003, downloaded: 17600 times)

International versions of Office have the menu system in their local language. Also the Excel worksheet functions are (mostly) listed in local language. This complicates communication with the users with such a version. To aid in this process a utility has been devised that creates and shows a translation list of the Excel built-in command bars and controls and the Excel worksheet functions. This workbook can also list command bars of other Office software packages. It thus enables the international user who is using a different language version of Excel to quickly find translations for sequences of menu commands and function names.


Comments

Showing last 8 comments of 221 in total (Show All Comments):

 


Comment by: Jan Karel Pieterse (2/26/2014 4:23:37 PM)

Hi Tomo,

Unfortunately I know nothing about bonds yield fitting!

 


Comment by: Elaine (3/14/2014 9:56:37 AM)

Hi

I am ubable to use Autosafe. I keep getting a message to enable macros despite enabling all macros.
Can you help please.
Thanks

 


Comment by: Jan Karel Pieterse (3/14/2014 12:01:27 PM)

Hi Elaine,

I think the prblem is that you need to allow access to the VBA object model, which is a specific setting in:
File, Options, Trust Center, Trust Center Settings, Macro options, Allow access to the VBA object model.

 


Comment by: Elaine (3/14/2014 2:41:32 PM)

Hi

Many thanks for your help. Now working! (Just wish I had it earlier this week!!) All safe now.
Elaine

 


Comment by: Jack (3/19/2014 2:22:35 PM)

can i configure autosafe to always create the file in the same name with extension .xls ? example: test.xls

Thank you.

 


Comment by: Jan Karel Pieterse (3/21/2014 3:40:10 PM)

Hi Jack,

No, you can't do that I'm afraid.

 


Comment by: Antoniu (3/26/2014 1:26:57 PM)

Hi Jan

I am trying to use your Treeview classes in a small project (without success till now) maybe you can help me a bit.

So I have an userform1 with frameControl that will keep the treeview and a command button. That botton will start up an userform2 with a text box. On text box I write the name of the root tree node, click the button from userform2, userform2 close and the frame is populated with the root node.

now.

If I repeat procedure I like to keep the first root node created and add the new one etc .... On bellow code the root node is just "renamed".

Please can you help me a bit?

in userform1

Option Explicit
Private WithEvents mcTree As clsTreeView
Public nTxtBox As String
Public k As Integer

Private Sub CommandButton1_Click()
    UserForm2.Show
    MsgBox nTxtBox
    RootNodes
End Sub
Sub RootNodes()
    Dim cRoot As clsNode
    
    Set mcTree = New clsTreeView
    With mcTree
        k = k + 1
        MsgBox k
        Set .TreeControl = Me.frTreeControl
        .RootButton = True
                Set cRoot = .AddRoot(nTxtBox & k, nTxtBox)

        .Refresh
    End With

End Sub


in userform2

Option Explicit
Private Sub CommandButton1_Click()
    UserForm1.nTxtBox = UserForm2.TextBox1.Text
    Unload Me
End Sub

 


Comment by: Antoniu (3/27/2014 1:08:26 PM)

With Jan's help, I putted like this (and it's working like I am expected):

Jan, thank you!


Sub RootNodes()
    Dim cRoot As clsNode
    
    k = k + 1
    If mcTree Is Nothing Then
    Set mcTree = New clsTreeView
        With mcTree
            Set .TreeControl = Me.frTreeControl
            .RootButton = True
            .CheckBoxes = True
                    Set cRoot = .AddRoot(nTxtBox & k, nTxtBox)
    
            .Refresh
        End With
    Else
        With mcTree
            Set .TreeControl = Me.frTreeControl
            .RootButton = True
                    Set cRoot = .AddRoot(nTxtBox & k, nTxtBox)
    
            .Refresh
        End With
    End If

End Sub

 


Have a question, comment or suggestion? Then please use this form.

If your question is not directly related to this web page, but rather a more general "How do I do this" Excel question, then I advise you to ask your question here: www.eileenslounge.com.

Please enter your name (required):

Your e-mail address (optional but if you want me to respond it helps!; will not be shown, nor be used to send you unsolicited information):

Your request or comment:

To post VBA code in your comment, use [VB] tags, like this: [VB]Code goes here[/VB].