Category: VBA

Excel basics

Most of the things posted on this page will make reference to Visual Basic for Applications (VBA). How do you get to the Visual Basic Editor? Excel versions prior to 2007: Under the Tools menu, go to Macros, and the option should be there. Excel 2007: Available through the Developer tab on the ribbon. If you don’t see a developer tab: Add the Developer tab… Read more →

kml maker for Excel -> Google Earth

I made a userform that quickly and easily allows you to make a kml file that’s readable by google earth based on some excel dataset that has coordinates. Features: Simple and advanced modes userform for convenience Icons change when highlighted Allows html to be passed to popup contents, everything is customizable Issue a default icon, and change icons for specific… Read more →

Change lists into tables and tables into lists

Designed a userform that converts dimension formats, i.e. information from tabular format to list (or flat) format, and viceversa. Some options include preserving formatting or not, as well as including blank cells or not. >>Form is here:Dim changer userform >>Excel file with embedded form and a macro to make the form pop up is here:Dim_changer >>Tutorial is here: Code… Read more →

Search or filter through controls in a userform

This bit might be useful if you have a lot of controls on a form, and need a quick way to highlight them. This post supports the video: I uploaded a video tutorial, you can see it here (please view in fullscreen mode, or watch the video in youtube by clicking on the youtube logo):[]. Download the file here (Search on… Read more →

Compare lists and identify matches macro

This macro provides an alternative to vlookup (which looks at two lists and provides data from one list to the second) that retains similar functionality while providing certain benefits. It accomplishes this by physically moving one list to the other. It’s impossible to get a false positive, and it doesn’t provide that annoying #N/A that messes up calculations. Additionally, it… Read more →

Macro userform – a good visual way to organize macros

At a certain point it can become challenging to quickly find and run the macro we need. Below are some options to organize our macros. I will focus on using a pop-up form because it’s the method I prefer, but at the bottom of the article, you can see other options. A pop-up menu looks like this: How to make your own… Read more →

%d bloggers like this: