<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Auto-generate a Table of Contents in Excel</title>
	<atom:link href="http://sniptools.com/vault/auto-generate-a-table-of-contents-in-excel/feed" rel="self" type="application/rss+xml" />
	<link>http://sniptools.com/vault/auto-generate-a-table-of-contents-in-excel</link>
	<description>Design &#38; Technology Observations</description>
	<lastBuildDate>Sun, 18 Jul 2010 17:26:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jason</title>
		<link>http://sniptools.com/vault/auto-generate-a-table-of-contents-in-excel/comment-page-1#comment-1363</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 28 Mar 2007 11:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://sniptools.com/cms/?p=63#comment-1363</guid>
		<description>The program works. Thank you. I, however, constantly get an additional sheet added prior to the TOC page (e.g. Sheet 1) and it is listed on the TOC as page 1. Is there a way to alter the code to eliminate this from happening?
</description>
		<content:encoded><![CDATA[<p>The program works. Thank you. I, however, constantly get an additional sheet added prior to the TOC page (e.g. Sheet 1) and it is listed on the TOC as page 1. Is there a way to alter the code to eliminate this from happening?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Launcher</title>
		<link>http://sniptools.com/vault/auto-generate-a-table-of-contents-in-excel/comment-page-1#comment-1362</link>
		<dc:creator>Launcher</dc:creator>
		<pubDate>Tue, 28 Nov 2006 03:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://sniptools.com/cms/?p=63#comment-1362</guid>
		<description>I am running Excel 2000 with Visual Basic 6.0

When I run this code I get the following error:
Compile Error:
Syntax Error

Plus, the following line is highlighted:
’ Does a TOC already exist?

Also, there are a number of lines that are displayed in red text.

Can someone please help...I know nothing about codes, Visual Basic nor macros
</description>
		<content:encoded><![CDATA[<p>I am running Excel 2000 with Visual Basic 6.0</p>
<p>When I run this code I get the following error:<br />
Compile Error:<br />
Syntax Error</p>
<p>Plus, the following line is highlighted:<br />
’ Does a TOC already exist?</p>
<p>Also, there are a number of lines that are displayed in red text.</p>
<p>Can someone please help&#8230;I know nothing about codes, Visual Basic nor macros</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rachelle</title>
		<link>http://sniptools.com/vault/auto-generate-a-table-of-contents-in-excel/comment-page-1#comment-1361</link>
		<dc:creator>Rachelle</dc:creator>
		<pubDate>Sat, 23 Sep 2006 17:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://sniptools.com/cms/?p=63#comment-1361</guid>
		<description>This is simply wonderful!!!
</description>
		<content:encoded><![CDATA[<p>This is simply wonderful!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://sniptools.com/vault/auto-generate-a-table-of-contents-in-excel/comment-page-1#comment-1360</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Fri, 17 Jun 2005 09:03:22 +0000</pubDate>
		<guid isPermaLink="false">http://sniptools.com/cms/?p=63#comment-1360</guid>
		<description>I am getting a compile error on the wsheet function. i am using excel 2003 fully service packed.  what am i doing wrong?

If ThisPages = 1 Then
wSheet.Cells(TableRow, 2).Value = PageCount + 1&amp;&quot; &quot;
Else
wSheet.Cells(TableRow, 2).Value = PageCount + 1&amp;&quot; - &quot;&amp;PageCount + ThisPages
</description>
		<content:encoded><![CDATA[<p>I am getting a compile error on the wsheet function. i am using excel 2003 fully service packed.  what am i doing wrong?</p>
<p>If ThisPages = 1 Then<br />
wSheet.Cells(TableRow, 2).Value = PageCount + 1&#038;&#8221; &#8221;<br />
Else<br />
wSheet.Cells(TableRow, 2).Value = PageCount + 1&#038;&#8221; &#8211; &#8220;&#038;PageCount + ThisPages</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://sniptools.com/vault/auto-generate-a-table-of-contents-in-excel/comment-page-1#comment-1359</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 16 May 2005 03:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://sniptools.com/cms/?p=63#comment-1359</guid>
		<description>Definately saved me a few hours so thanks a lot
</description>
		<content:encoded><![CDATA[<p>Definately saved me a few hours so thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A nondescript Googler</title>
		<link>http://sniptools.com/vault/auto-generate-a-table-of-contents-in-excel/comment-page-1#comment-1358</link>
		<dc:creator>A nondescript Googler</dc:creator>
		<pubDate>Sun, 01 May 2005 19:30:47 +0000</pubDate>
		<guid isPermaLink="false">http://sniptools.com/cms/?p=63#comment-1358</guid>
		<description>I found useful code usage here - that I couldn&#039;t even find on Usenet.  Nice work.
</description>
		<content:encoded><![CDATA[<p>I found useful code usage here &#8211; that I couldn&#8217;t even find on Usenet.  Nice work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: toto</title>
		<link>http://sniptools.com/vault/auto-generate-a-table-of-contents-in-excel/comment-page-1#comment-1357</link>
		<dc:creator>toto</dc:creator>
		<pubDate>Tue, 20 Jan 2004 21:29:03 +0000</pubDate>
		<guid isPermaLink="false">http://sniptools.com/cms/?p=63#comment-1357</guid>
		<description>IN VBA code you can continue on more than one lines with the underbar chatacter.

_

E.g.,

displayMessage = _
&quot;We&#039;ll do a Print Preview for some _
calculations.&quot; _
displayMessage = displayMessage &amp; _
&quot;Please &#039;Close&#039; the window when it _
appears.&quot;


This should work. Just like in Visual Basic.

</description>
		<content:encoded><![CDATA[<p>IN VBA code you can continue on more than one lines with the underbar chatacter.</p>
<p>_</p>
<p>E.g.,</p>
<p>displayMessage = _<br />
&#8220;We&#8217;ll do a Print Preview for some _<br />
calculations.&#8221; _<br />
displayMessage = displayMessage &#038; _<br />
&#8220;Please &#8216;Close&#8217; the window when it _<br />
appears.&#8221;</p>
<p>This should work. Just like in Visual Basic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emmanuel</title>
		<link>http://sniptools.com/vault/auto-generate-a-table-of-contents-in-excel/comment-page-1#comment-1356</link>
		<dc:creator>Emmanuel</dc:creator>
		<pubDate>Sun, 18 Jan 2004 10:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://sniptools.com/cms/?p=63#comment-1356</guid>
		<description>This is really really useful, thanks!
</description>
		<content:encoded><![CDATA[<p>This is really really useful, thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
