Monthly Archives: October 2008

Convert Excel Column Number into Column Name

Update: Sorter version of the VBA function: Function Number2Char(c As Integer) As String Number2Char = Split(Cells(1, c).Address, “$”)(1) End Function Courtesy of The Plaid Cow. OR Function Number2Char(ByVal vNumber) Dim addr As String If vNumber 256 Then Exit Function addr … Continue reading

Posted in Workbook and Worksheet | Tagged , , , , , , , , , , , | 18 Comments

Check If Excel Workbook is Already Open or Not

In my case, I work a lot with transferring data from current Excel Workbook to another Excel Workbook, and to be able to do that, of course I need to make sure whether the destination Workbook is already open or … Continue reading

Posted in Cells and Range | Tagged , | 11 Comments

How To Find Row Position of a Particular Text

Sometimes in Excel, we need to find the row position of a particular text, maybe to be able to paste certain of data right below the corresponding text or else. Very useful if we have an Excel Worksheet Template that … Continue reading

Posted in Cells and Range | Tagged , , , , , , , , , , , , , | 14 Comments

Select All Cells With Formula In It

Let say we want to distinguish between ordinary cells and cells with formula in it, so we give a special background color to the cells with formula. For doing it manually is time consuming, especially on Excel Worksheet with large … Continue reading

Posted in Cells and Range | Tagged , , , | 6 Comments

Move Cursor To One Cell Below Last Row With Data

Ever want to paste some data into new empty cell after the last cell with data in certain column? Then take a look at this simple macro. ‘first, select cell in the first row of that column, like A1, K1, … Continue reading

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

Finding Cell with Minimum/Maximum Value in Active Worksheet

Let say we want to find position of cell containing the minimum/maximum value in current/active Excel worksheet, and then after we found the cell, we will change the cell format to make it stand out before other cells. The logic … Continue reading

Posted in Excel VBA Function, Workbook and Worksheet | Tagged , , , , , , , , , , , , , , , , , , | 10 Comments