<?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: Incrementing Invoice Numbers with a Text File</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2004/10/25/incrementing-invoice-numbers-with-a-text-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2004/10/25/incrementing-invoice-numbers-with-a-text-file/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:06:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Tania</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/10/25/incrementing-invoice-numbers-with-a-text-file/#comment-28500</link>
		<dc:creator>Tania</dc:creator>
		<pubDate>Tue, 06 Nov 2007 04:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=828#comment-28500</guid>
		<description>&lt;p&gt;Hi,&lt;br&gt;
I have created a quote in excel, and each quote has a unique number. I would like to be able to open the template and it have the next sequentual number in the spreadsheet. I would also like the document to save automatically with &quot;Customer Name, date, Quote Number&quot; Is this possible????I have tried using the above codes sct, however I have no idea what I am doing, and nothing seems to work. Is there someone that could possibly help me. Many Thanks In Advance.....Tania&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have created a quote in excel, and each quote has a unique number. I would like to be able to open the template and it have the next sequentual number in the spreadsheet. I would also like the document to save automatically with &#8220;Customer Name, date, Quote Number&#8221; Is this possible????I have tried using the above codes sct, however I have no idea what I am doing, and nothing seems to work. Is there someone that could possibly help me. Many Thanks In Advance&#8230;..Tania</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RageVortex</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/10/25/incrementing-invoice-numbers-with-a-text-file/#comment-24006</link>
		<dc:creator>RageVortex</dc:creator>
		<pubDate>Thu, 10 May 2007 17:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=828#comment-24006</guid>
		<description>&lt;p&gt;Thanx for the help the code ye posted was very helpfull... both of the approaches. I decided to go with the text file one but both approaches were cool.&lt;br&gt;
I did modify it a bit and added a line on the&lt;br&gt;
Worksheet open section so it will auto increase every time I open the document.&lt;br&gt;
Run (NextInv)&lt;br&gt;
ya very simple :P (I&#039;m lazy )&lt;br&gt;
Sure it may be a hasle when you open the document several times it will always increase the number but heck it will serve our purposes for now. Thanx a lot for all yer efforts and yer coding i&#039;ve been out of the programming game for so long, having to figgure this kinda thng again will probly take me twise as much time than I reely have  in my current line of work (Graphic Designer) **cheers**&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanx for the help the code ye posted was very helpfull&#8230; both of the approaches. I decided to go with the text file one but both approaches were cool.<br />
I did modify it a bit and added a line on the<br />
Worksheet open section so it will auto increase every time I open the document.<br />
Run (NextInv)<br />
ya very simple <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  (I&#8217;m lazy )<br />
Sure it may be a hasle when you open the document several times it will always increase the number but heck it will serve our purposes for now. Thanx a lot for all yer efforts and yer coding i&#8217;ve been out of the programming game for so long, having to figgure this kinda thng again will probly take me twise as much time than I reely have  in my current line of work (Graphic Designer) **cheers**</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/10/25/incrementing-invoice-numbers-with-a-text-file/#comment-15594</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Tue, 26 Jul 2005 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=828#comment-15594</guid>
		<description>&lt;p&gt;Penny:  That&#039;s sounds right to me.  If it doesn&#039;t work, let me know.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Penny:  That&#8217;s sounds right to me.  If it doesn&#8217;t work, let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Penny</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/10/25/incrementing-invoice-numbers-with-a-text-file/#comment-15585</link>
		<dc:creator>Penny</dc:creator>
		<pubDate>Sun, 24 Jul 2005 18:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=828#comment-15585</guid>
		<description>&lt;p&gt;I am trying to use Franks Code, But I need the invoice to start at #16160, so it right to put this # in this spot&lt;/p&gt;
&lt;p&gt;CONST DEFAULTSTART As Integer = 16160&lt;/p&gt;
&lt;p&gt;Any replies will be greatly appreciated&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am trying to use Franks Code, But I need the invoice to start at #16160, so it right to put this # in this spot</p>
<p>CONST DEFAULTSTART As Integer = 16160</p>
<p>Any replies will be greatly appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J.E. McGimpsey</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/10/25/incrementing-invoice-numbers-with-a-text-file/#comment-2483</link>
		<dc:creator>J.E. McGimpsey</dc:creator>
		<pubDate>Tue, 26 Oct 2004 23:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=828#comment-2483</guid>
		<description>&lt;p&gt;Another approach, with a little more flexibility:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.mcgimpsey.com/excel/invoice.html&quot; rel=&quot;nofollow&quot;&gt;http://www.mcgimpsey.com/excel/invoice.html&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Another approach, with a little more flexibility:</p>
<p><a href="http://www.mcgimpsey.com/excel/invoice.html" rel="nofollow">http://www.mcgimpsey.com/excel/invoice.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Collins</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/10/25/incrementing-invoice-numbers-with-a-text-file/#comment-2482</link>
		<dc:creator>Jamie Collins</dc:creator>
		<pubDate>Tue, 26 Oct 2004 13:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=828#comment-2482</guid>
		<description>&lt;p&gt;strUniqueNumber = CreateObject(&quot;Scriptlet.TypeLib&quot;).GUID&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>strUniqueNumber = CreateObject(&#8220;Scriptlet.TypeLib&#8221;).GUID</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Kabel</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/10/25/incrementing-invoice-numbers-with-a-text-file/#comment-2481</link>
		<dc:creator>Frank Kabel</dc:creator>
		<pubDate>Mon, 25 Oct 2004 19:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=828#comment-2481</guid>
		<description>&lt;p&gt;Hi Dick&lt;br&gt;
just my version using the Windows registry and some code in the workbook_open event of a template:&lt;br&gt;
- It changes cell A1 of the first sheet&lt;br&gt;
- you may change the key identifiert according to your needs (e.g. DEFAULTSTART, MYLOCATION, etc.)&lt;/p&gt;
&lt;p&gt;    Private Sub Workbook_Open()&lt;br&gt;
        Const DEFAULTSTART As Integer = 1&lt;br&gt;
        Const MYAPPLICATION As String = &quot;Excel&quot;&lt;br&gt;
        Const MYSECTION As String = &quot;myInvoice&quot;&lt;br&gt;
        Const MYKEY As String = &quot;myInvoiceKey&quot;&lt;br&gt;
        Const MYLOCATION As String = &quot;A1?&lt;br&gt;
        Dim regValue As Long&lt;/p&gt;
&lt;p&gt;        With ThisWorkbook.Sheets(1).Range (MYLOCATION)&lt;br&gt;
            If .Text &lt;&gt; &quot;&quot; Then Exit Sub&lt;br&gt;
            regValue = GetSetting(MYAPPLICATION, MYSECTION, _&lt;br&gt;
                    MYKEY, DEFAULTSTART)&lt;br&gt;
            .Value = CStr(regValue)&lt;br&gt;
            SaveSetting MYAPPLICATION, MYSECTION, MYKEY, regValue + 1&lt;br&gt;
        End With&lt;br&gt;
    End Sub&lt;/p&gt;
&lt;p&gt;Also no real error checking included, etc.&lt;/p&gt;
&lt;p&gt;Frank&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Dick<br />
just my version using the Windows registry and some code in the workbook_open event of a template:<br />
- It changes cell A1 of the first sheet<br />
- you may change the key identifiert according to your needs (e.g. DEFAULTSTART, MYLOCATION, etc.)</p>
<p>    Private Sub Workbook_Open()<br />
        Const DEFAULTSTART As Integer = 1<br />
        Const MYAPPLICATION As String = &#8220;Excel&#8221;<br />
        Const MYSECTION As String = &#8220;myInvoice&#8221;<br />
        Const MYKEY As String = &#8220;myInvoiceKey&#8221;<br />
        Const MYLOCATION As String = &#8220;A1?<br />
        Dim regValue As Long</p>
<p>        With ThisWorkbook.Sheets(1).Range (MYLOCATION)<br />
            If .Text &lt;&gt; &#8220;&#8221; Then Exit Sub<br />
            regValue = GetSetting(MYAPPLICATION, MYSECTION, _<br />
                    MYKEY, DEFAULTSTART)<br />
            .Value = CStr(regValue)<br />
            SaveSetting MYAPPLICATION, MYSECTION, MYKEY, regValue + 1<br />
        End With<br />
    End Sub</p>
<p>Also no real error checking included, etc.</p>
<p>Frank</p>
]]></content:encoded>
	</item>
</channel>
</rss>

