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 and 2010, unless stated otherwise. For some downloads a dedicated version for Excel 2007/2010 is available.

Donations

Do you like any of these tools? 

The files

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 134, 4 Apr 2012, downloaded: 35114 times)

New in Autosafe: You can now turn off the update function.

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: 4339 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: 7385 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: 4441 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: 7711 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: 9863 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 (courtesy: http://tinyurl.co.uk/zde9).

UpdateAnAddin

UpdateAnAddin.xls (Updated February 19, 2007, downloaded: 9901 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: 5136 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: 2865 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: 10142 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, 260k, downloaded: 14405 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 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, 634k, downloaded: 4611 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, 56k, downloaded: 4809 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, 24k, downloaded: 806 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

ObjectLister

Objectlister.zip (Version 1.0, Build 003, 1 October 2008, 56k, downloaded: 6900 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.

AutoChrt

AutoChrt.zip (10 November 2000, 7k, downloaded: 15009 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, 5K, downloaded: 7949 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, 26k, downloaded: 6420 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.

CatchPasteDemo

CatchPasteDemo.zip (17 Dec 2007, 21k, downloaded: 4030 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, 24k, downloaded: 6361 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     (9 February 2006, 25k, downloaded: 6333 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, 26k, downloaded: 8705 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, 26k, downloaded: 3801 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.

Arg2Name

Arg2Name.zip     (8 February 2001, 10k, downloaded: 13482 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, 810k, downloaded: 15366 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 172 in total (Show All Comments):

 


Comment by: Bill Benson (2/24/2012 9:38:14 AM)

Jan Karel, hi. I think that Barry McFarlane's request is reasonable and belongs in your official released version. I am not against your stand on revenue, however that one option alone is probably why I am going to write my own add-in. It won't be polished like yours and it will not be for sale or intend to be in competition with what you have produced, which others have raved about. However I do not want something which automatically deletes any of my backups, no matter how many times I save, if that is the correct inference from Barry's comment.

I also want to be sure I can turn it off for certain files on a file by file basis via a convenient toggle. (Some of the programming code I have has to save the file along the way to avoid Excel crashing, and in that situation the backups are not useful to me

 


Comment by: Jan Karel Pieterse (2/24/2012 11:01:54 AM)

Hi Bill,

I see where you're going, but Autosafe is different in that it offers left-over backup copies for recovery when you restart Excel. It would require too much of a rewrite.

 


Comment by: Tany (3/13/2012 4:36:35 AM)

Hi JKP,
If I enter "http://investing.money.msn.com/investments/stock-ratings?symbol=ADM" in IE, then I reach the site.
I I pass this string to below Sub, then I get "1004 This Web query returned no data. To change the query, click OK, click the arrow on the name box in the formula bar, click the name of the external data range for the Web query, right-click the selection, and then click Edit Query." as error trap.
If I go in manual "Edit Web Query" then I get a script error pointing to platform.twitter.com/widgets.js... continue... get this again... continue... then it is possible to "Import".

Strange but true... replacing ADM by KOL... then it works.

Any suggestion ?

Thanks.

T

Sub ExecWebQuery(prmURL As String)
On Error Resume Next

    Sheets("WebQry").Select
    Range("edr").Select
    With Selection.QueryTable
        .Connection = "URL;" & prmURL
        .WebSelectionType = xlAllTables
        .WebFormatting = xlWebFormattingNone
        .WebPreFormattedTextToColumns = True
        .WebConsecutiveDelimitersAsOne = True
        .WebSingleBlockTextImport = False
        .WebDisableDateRecognition = False
        .Refresh BackgroundQuery:=False
    End With

 


Comment by: Jan Karel Pieterse (3/13/2012 6:09:49 AM)

Hi Tany,

If I enter that url in IE, the site automatically adds an ampersand after the URL, like so:

http://investing.money.msn.com/investments/stock-ratings?symbol=ADM&

then the script error does not happen.

So the error is site-based and cannot be prevented I'm afraid.

 


Comment by: gerdami (4/3/2012 1:16:51 AM)

Autosafe

Is there a way to disable the automatic update?
Problem is that being behind a firewall proxy, internet credentials are requested and update dialog remains on hold if I use Excel in scheduled tasks.

 


Comment by: Jan Karel Pieterse (4/3/2012 6:01:43 AM)

Hi Gerdami,

As of build 134 you can turn updating off.

 


Comment by: gerdami (4/3/2012 9:31:27 AM)

Hi JKP,
You are really fantastic: you are quickier than Lucky Luke!
Thank you.

 


Comment by: bhanu kiran (4/17/2012 2:52:27 AM)

Hi Jan Kal,

I was looking at your comment on EE and came down to visit your site. You have a excellent tool set.

Thanks for your agreement on the Rackspace cloud drive vs rackspace sharepoint.

regards
bhanu

 


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].