<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Automate Excel &#187; Cells, Columns &amp; Rows</title>
	<atom:link href="http://www.automateexcel.com/category/vba/cells-columns-rows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.automateexcel.com</link>
	<description>Hundreds of Excel Tips &#38; Tricks</description>
	<lastBuildDate>Mon, 21 Dec 2009 20:35:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VBA Routine to return Column Letter of Cell</title>
		<link>http://www.automateexcel.com/2008/11/04/vba-routine-to-return-column-letter-of-cell/</link>
		<comments>http://www.automateexcel.com/2008/11/04/vba-routine-to-return-column-letter-of-cell/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 04:27:03 +0000</pubDate>
		<dc:creator>Kaps</dc:creator>
				<category><![CDATA[Cells, Columns & Rows]]></category>
		<category><![CDATA[cell]]></category>
		<category><![CDATA[column letter]]></category>
		<category><![CDATA[routine]]></category>

		<guid isPermaLink="false">http://www.automateexcel.com/?p=1115</guid>
		<description><![CDATA[The standard Excel “Column” Function returns the number rather than the letter of the column e.g:
Column(E4) – returns the number 5 rather than the letter E
Column(AD12) returns the number 30 rather than AD.
The following function returns the letter rather than the number of the column. So in the above two examples we have the letters [...]]]></description>
		<wfw:commentRss>http://www.automateexcel.com/2008/11/04/vba-routine-to-return-column-letter-of-cell/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>VBA Function to Show Cell Formula</title>
		<link>http://www.automateexcel.com/2008/10/24/vba-function-to-show-cell-formula/</link>
		<comments>http://www.automateexcel.com/2008/10/24/vba-function-to-show-cell-formula/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 12:58:32 +0000</pubDate>
		<dc:creator>Kaps</dc:creator>
				<category><![CDATA[Cells, Columns & Rows]]></category>
		<category><![CDATA[udf]]></category>
		<category><![CDATA[VBA]]></category>

		<guid isPermaLink="false">http://www.automateexcel.com/?p=1045</guid>
		<description><![CDATA[The following UDF will return the formulae for a given cell reference:
Function Show_Cell_Formulae(Cell As Range) As String
    Show_Cell_Formulae = "Cell " &#38; Cell.Address &#38; " has the formulae : ' " &#38; Cell.Formula &#38; " '"
End Function
So if we have:

Where the cell B7 has the formulae : ‘=MAX(B5:G5) then we can type [...]]]></description>
		<wfw:commentRss>http://www.automateexcel.com/2008/10/24/vba-function-to-show-cell-formula/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding the Maximum Value in Each Column in a Range</title>
		<link>http://www.automateexcel.com/2008/10/16/finding-the-maximum-value-in-each-column-in-a-range/</link>
		<comments>http://www.automateexcel.com/2008/10/16/finding-the-maximum-value-in-each-column-in-a-range/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 15:35:04 +0000</pubDate>
		<dc:creator>Kaps</dc:creator>
				<category><![CDATA[Cells, Columns & Rows]]></category>
		<category><![CDATA[column]]></category>
		<category><![CDATA[maximum]]></category>
		<category><![CDATA[range]]></category>
		<category><![CDATA[value]]></category>

		<guid isPermaLink="false">http://www.automateexcel.com/?p=978</guid>
		<description><![CDATA[The following function will return the Maximum Value in each Column in a Range:
Function Max_Each_Column(Data_Range As Range) As Variant
    Dim TempArray() As Double, i As Long
        If Data_Range Is Nothing Then Exit Function
        With Data_Range
    [...]]]></description>
		<wfw:commentRss>http://www.automateexcel.com/2008/10/16/finding-the-maximum-value-in-each-column-in-a-range/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deleting Rows that meet a Certain Criteria</title>
		<link>http://www.automateexcel.com/2008/10/14/deleting-rows-that-meet-a-certain-criteria/</link>
		<comments>http://www.automateexcel.com/2008/10/14/deleting-rows-that-meet-a-certain-criteria/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 22:50:19 +0000</pubDate>
		<dc:creator>Kaps</dc:creator>
				<category><![CDATA[Cells, Columns & Rows]]></category>
		<category><![CDATA[criteria]]></category>
		<category><![CDATA[deleting]]></category>
		<category><![CDATA[rows]]></category>
		<category><![CDATA[subroutine]]></category>

		<guid isPermaLink="false">http://www.automateexcel.com/?p=974</guid>
		<description><![CDATA[The following Subroutine will delete each row in a range where the value in Column A begins with a prescribed piece of text:
Sub Delete_Rows(Data_range As Range, Text As String)
Dim Row_Counter As Integer
For Row_Counter = Data_range.Rows.Count To 1 Step -1
If Data_range Is Nothing Then
    			Exit Sub
End If
If UCase(Left(Data_range.Cells(Row_Counter, 1).Value, Len(Text))) = UCase(Text) Then
 [...]]]></description>
		<wfw:commentRss>http://www.automateexcel.com/2008/10/14/deleting-rows-that-meet-a-certain-criteria/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VBA: Highlight Duplicates in a Range</title>
		<link>http://www.automateexcel.com/2008/10/13/vba-highlight-duplicates-in-a-range/</link>
		<comments>http://www.automateexcel.com/2008/10/13/vba-highlight-duplicates-in-a-range/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 14:05:31 +0000</pubDate>
		<dc:creator>Kaps</dc:creator>
				<category><![CDATA[Cells, Columns & Rows]]></category>
		<category><![CDATA[duplicates]]></category>
		<category><![CDATA[dynamic ranges]]></category>
		<category><![CDATA[highlight]]></category>
		<category><![CDATA[VBA]]></category>

		<guid isPermaLink="false">http://www.automateexcel.com/?p=959</guid>
		<description><![CDATA[The following subroutine will highlight all the duplicate values in range in yellow. It does not matter whether the values are text or numbers. It uses Excel’s COUNTIF function to count up the duplicates and then sets the colour to yellow:
Sub Highlight_Duplicates(Values As Range)
Dim Cell

For Each Cell In Values
    If WorksheetFunction.CountIf(Values, Cell.Value) [...]]]></description>
		<wfw:commentRss>http://www.automateexcel.com/2008/10/13/vba-highlight-duplicates-in-a-range/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VBA: User Defined Function that Counts Selected Cells</title>
		<link>http://www.automateexcel.com/2008/10/04/vba-user-defined-function-that-counts-selected-cells/</link>
		<comments>http://www.automateexcel.com/2008/10/04/vba-user-defined-function-that-counts-selected-cells/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 10:51:30 +0000</pubDate>
		<dc:creator>Kaps</dc:creator>
				<category><![CDATA[Cells, Columns & Rows]]></category>
		<category><![CDATA[cells]]></category>
		<category><![CDATA[count]]></category>
		<category><![CDATA[selected]]></category>
		<category><![CDATA[user defined]]></category>
		<category><![CDATA[VBA]]></category>

		<guid isPermaLink="false">http://www.automateexcel.com/?p=949</guid>
		<description><![CDATA[The following function will examine a range of Excel cells and return the number that fall within a specified range:
Function Count_Selected_Cells(Data_Range As Range, Min As Double, Max As Double) As Integer
Dim Cell
Count_Selected_Cells = 0#
For Each Cell In Data_Range
    If ((Cell.Value &#62;= Min) And (Cell.Value &#60;= Max)) Then
      [...]]]></description>
		<wfw:commentRss>http://www.automateexcel.com/2008/10/04/vba-user-defined-function-that-counts-selected-cells/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VBA Function: Populating a Range</title>
		<link>http://www.automateexcel.com/2008/09/26/vba-function-populating-a-range/</link>
		<comments>http://www.automateexcel.com/2008/09/26/vba-function-populating-a-range/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 11:06:58 +0000</pubDate>
		<dc:creator>Kaps</dc:creator>
				<category><![CDATA[Cells, Columns & Rows]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[populating]]></category>
		<category><![CDATA[range]]></category>
		<category><![CDATA[VBA]]></category>

		<guid isPermaLink="false">http://www.automateexcel.com/?p=918</guid>
		<description><![CDATA[The following code will populate a given range with a random number between 0 and 1000:
Sub Randomise_Range(Cell_Range As Range)
' Will randomise each cell in Range
Dim Cell
'Turn off screen alerts
Application.ScreenUpdating = False
For Each Cell In Cell_Range
Cell.Value = Rnd * 1000
Next Cell
Application.ScreenUpdating = True
End Sub
The code  “Application.ScreenUpdating =FALSE” and “Application.ScreenUpdating = TRUE” serve to turn off [...]]]></description>
		<wfw:commentRss>http://www.automateexcel.com/2008/09/26/vba-function-populating-a-range/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VBA: Selecting Every 5th Row</title>
		<link>http://www.automateexcel.com/2008/09/12/vba-selecting-every-5th-row/</link>
		<comments>http://www.automateexcel.com/2008/09/12/vba-selecting-every-5th-row/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 13:41:51 +0000</pubDate>
		<dc:creator>Kaps</dc:creator>
				<category><![CDATA[Cells, Columns & Rows]]></category>
		<category><![CDATA[cells]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[row]]></category>
		<category><![CDATA[VBA]]></category>

		<guid isPermaLink="false">http://www.automateexcel.com/?p=869</guid>
		<description><![CDATA[Imagine that we have 20,000 rows of data in an Excel spreadsheet:

However, what about if you wanted to cut this data down such as take every 5th row ? This article shows how it can be done. The Row() function gives the number of each row:

The mod function allows us to perform modulo arithmetic:
Mod(Number,Divisor)
Gives the [...]]]></description>
		<wfw:commentRss>http://www.automateexcel.com/2008/09/12/vba-selecting-every-5th-row/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VBA: How to select cells/ranges</title>
		<link>http://www.automateexcel.com/2005/03/16/vba_how_to_select_cells_ranges/</link>
		<comments>http://www.automateexcel.com/2005/03/16/vba_how_to_select_cells_ranges/#comments</comments>
		<pubDate>Wed, 16 Mar 2005 12:03:52 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Cells, Columns & Rows]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[22 different VBA examples for selecting: How to select cells/ranges by using Visual Basic procedures in Excel
]]></description>
		<wfw:commentRss>http://www.automateexcel.com/2005/03/16/vba_how_to_select_cells_ranges/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VBA: Remove Blank Rows</title>
		<link>http://www.automateexcel.com/2004/12/20/excel_vba_remove_blank_rows/</link>
		<comments>http://www.automateexcel.com/2004/12/20/excel_vba_remove_blank_rows/#comments</comments>
		<pubDate>Mon, 20 Dec 2004 10:09:25 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Cells, Columns & Rows]]></category>
		<category><![CDATA[blank]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[rows]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[The obvious way to remove blank rows from a data set is to simply sort the data.  This moves the blank rows to the bottom of the data and &#8220;removes&#8221; them.  But what if you want the blank rows removed, however you don&#8217;t want the data sorted? VBA.
The following macro will remove blank [...]]]></description>
		<wfw:commentRss>http://www.automateexcel.com/2004/12/20/excel_vba_remove_blank_rows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
