Category Archives: Excel VBA Function

Changing Microsoft Excel Status Bar

Maybe for some reason we want to change our Microsoft Excel Status Bar, then this simple vba function will do the work for us. The end result will look like this: Ok, to do it, put this following code in … Continue reading

Posted in Excel VBA Function | Tagged , , , | 597 Comments

Handy VBA To Calculate Person Age

This handy VBA procedure is just to show you how we can calculate and display someone Age. To do this, of course we need to know their date of birth first, then simply using datediff and mod vba functions we … Continue reading

Posted in Excel VBA Function | Tagged , , | 1,577 Comments

Getting Cell Reference With Input Box

We can get an input from user using Input Box, but we also can use the Input Box to get the address of cell reference in Microsoft Excel. Using simple Excel VBA procedure below we can ask user to select … Continue reading

Posted in Excel VBA Function | Tagged , , , , , , , | 1,816 Comments

How To Find the Last Row That Contain Data in Excel?

UPDATE June 13, 2008: Another alternative way to find the last row with data : Function LastRow() As Long Dim ix As Long ix = ActiveSheet.UsedRange.Row – 1 + ActiveSheet.UsedRange.Rows.Count LastRow = ix End Function I did a simple test, … Continue reading

Posted in Excel VBA Function | Tagged , , , , , , , , , , , , , , , | 831 Comments

How to ceiling a decimal number in Excel?

Ceiling, or changing a specific decimal number into become its upper number, for example if we ceiling 3.25 we will got 4, or if we ceiling 2.75 then we will got 3 as a result. To get a result like … Continue reading

Posted in Excel VBA Function | Tagged , , , , , | 1,275 Comments