Excel 4.0 Macro Functions

vba shell

September 15, 2017

VBA Shell

The VBA Shell function runs a command in the operating system shell. The shell refers to the interface, typically where

Read More
VBA Select Case

August 10, 2017

VBA SELECT CASE

VBA SELECT CASE allows you to test an expression against multiple conditions, and then carry out a series of commands

Read More
if then else

August 3, 2017

VBA IF THEN ELSE

The VBA IF THEN ELSE statement lets you test a condition, and then carry out other commands if the test

Read More
debugging vba code

May 4, 2017

Debugging VBA Code

When you write VBA, or any programming language, you are going to encounter errors in it, or should we call

Read More
Return a range from a UDF

January 24, 2017

Return a Range from a UDF

I've previously written a UDF to count colored cells and then perform various maths functions on the values in those

Read More
Excel Status Bar

June 15, 2016

Excel Status Bar

In my previous blog post I created a progress bar using a userform. We can use this progress bar to

Read More
error handling in vba

December 4, 2015

Error Handling in VBA

If VBA can’t execute a statement (command) then a run-time error occurs. By default Excel deals with these, so when

Read More