<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>byteMyCode: Snippets for excel</title>
		<link>http://www.bytemycode.com</link>
		<description>Snippets for this tag.</description>
		<pubDate>Sat, 06 Sep 2008 20:02:19 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	<item>
	<title>Export MySQL query to Excel</title>
	<link>http://www.bytemycode.com/snippets/snippet/718/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/718/comments/</comments>
	<pubDate>Tue, 04 Sep 2007 23:34:05 +0000</pubDate>
	<dc:creator>explode</dc:creator>
	<category>excel, mysql, PHP, query</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/718/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Tue. Sep. 4th, 2007  11:34 PM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/718/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/explode/" title="Helper">explode</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/excel">excel</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/mysql">mysql</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/PHP">PHP</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/query">query</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/718/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 5
			<p>This is a cool function that lets you save MySQL query data to an Excel spreadsheet. This is good for taking a backup or if you want to change a lot of information fast, then re-upload it.<br /><br />I will use the config.php and class.mysql.php files from <a href='http://www.bytemycode.com/snippets/snippet/710/' target="_blank">MySQL DB Class with Extras</a>, so please look at those also.</p>
		]]>
	</description>
</item><item>
	<title>Group and count items in Excel</title>
	<link>http://www.bytemycode.com/snippets/snippet/492/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/492/comments/</comments>
	<pubDate>Fri, 27 Oct 2006 08:30:38 +0000</pubDate>
	<dc:creator>RobHarrigan</dc:creator>
	<category>count, excel, group, macro, tally</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/492/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Fri. Oct. 27th, 2006  8:30 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/492/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/RobHarrigan/" title="Helper">RobHarrigan</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/count">count</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/excel">excel</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/group">group</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/macro">macro</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/tally">tally</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/492/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 5
			<p>Excel macro to group and count the number of items in a range of cells, delimited by the pipe character "|". It returns a summary of the items including a percent of total and count for each item found, plus a grand total of all items.<br /><br />Currently limited to 100 items, simple becasue I didn't have the time to spend to get dynamic arrays to work.<br /><br /><blockquote><br />Sample Data:<br />--------------<br />cat|dog|bird<br />--------------<br />cat|bird<br />--------------<br />cat<br />--------------<br />frog<br /><br />==================<br />OUTPUT from =total(A1:A4)<br />==================<br />42.9% - 3: cat<br />28.6% - 2: bird<br />14.3% - 1: dog<br />14.3% - 1: frog<br />---<br />7</blockquote></p>
		]]>
	</description>
</item><item>
	<title>Excel - Automatically add footer</title>
	<link>http://www.bytemycode.com/snippets/snippet/421/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/421/comments/</comments>
	<pubDate>Fri, 06 Oct 2006 15:12:22 +0000</pubDate>
	<dc:creator>BrandonReese</dc:creator>
	<category>excel, footer, VBA</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/421/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Fri. Oct. 6th, 2006  3:12 PM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/421/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/BrandonReese/" title="Helper">BrandonReese</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/excel">excel</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/footer">footer</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/VBA">VBA</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/421/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 2
			<p>This macro will add a footer to your Excel worksheets. I use this at work because every Excel spreadsheet I do has to have my department and initials in the footer. This macro checks to make sure you are the author of the workbook, and it will not overwrite an existing footer. Just place this code in your personal macro workbook in the ThisWorkbook object.</p>
		]]>
	</description>
</item>
	</channel>
</rss>