<?xml version="1.0" encoding="iso-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Dansk Regneark Forum : 2 fortløbende numre</title>
  <link>https://forum.excel-regneark.dk/</link>
  <description><![CDATA[Dette er et XML Feed af; Dansk Regneark Forum : Makro og VBA : 2 fortløbende numre]]></description>
  <pubDate>Sat, 05 Dec 2026 05:31:55 +0000</pubDate>
  <lastBuildDate>Tue, 22 Sep 2020 10:29:15 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.excel-regneark.dk/RSS_post_feed.asp?TID=4370</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Dansk Regneark Forum]]></title>
   <url>https://forum.excel-regneark.dk/css_styles/Excel-regneark.dk/logo.png</url>
   <link>https://forum.excel-regneark.dk/</link>
  </image>
  <item>
   <title><![CDATA[2 fortløbende numre : Jeg har brugt denne kode dog ikke...]]></title>
   <link>https://forum.excel-regneark.dk/2-fortlbende-numre_topic4370_post21629.html#21629</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=2727">Trips</a><br /><strong>Emne:</strong> 4370<br /><strong>Sendt:</strong> 22.Sep.2020 kl. 10:29<br /><br />Jeg har brugt denne kode dog ikke som fakturanr men følgeseddel.<div><br></div><div><p ="Ms&#111;normal" style="margin-bottom:0cm;line-height:normal;:#FBFBFD"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,sans-serif;mso-fareast-font-family:  &quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;color:#0000CC;  mso-fareast-:DA">Sub Fakturanummer()<br>'Denne funktion genererer fortløbende fakturanumre i Excel<br>'2011 Allan Thustrup Mortensen</span><span style="font-size:9.0pt;font-family:  &quot;Verdana&quot;,sans-serif;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:  &quot;Times New Roman&quot;;color:black;mso-fareast-:DA"><o:p></o:p></span></p><p ="Ms&#111;normal" style="margin-bottom:0cm;line-height:normal;:#FBFBFD"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,sans-serif;mso-fareast-font-family:  &quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;color:#0000CC;  mso-fareast-:DA">NummerPlacering = Range("B1").Address 'Herstår fakturanummeret på din faktura</span><span style="font-size:9.0pt;  font-family:&quot;Verdana&quot;,sans-serif;mso-fareast-font-family:&quot;Times New Roman&quot;;  mso-bidi-font-family:&quot;Times New Roman&quot;;color:black;mso-fareast-:DA"><o:p></o:p></span></p><p ="Ms&#111;normal" style="margin-bottom:0cm;line-height:normal;:#FBFBFD"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,sans-serif;mso-fareast-font-family:  &quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;color:#0000CC;  mso-fareast-:DA">FakturaArkiv = ThisWorkbook.Path 'Dette kunne ogsåvære f.eks "C:\faktura"<br>&nbsp;<br>Naeste:</span><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,sans-serif;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;  color:black;mso-fareast-:DA"><o:p></o:p></span></p><p ="Ms&#111;normal" style="margin-bottom:0cm;line-height:normal;:#FBFBFD"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,sans-serif;mso-fareast-font-family:  &quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;color:#0000CC;  mso-fareast-:DA">If Dir(FakturaArkiv &amp; Application.PathSeparator&amp; "Faktura " &amp; Range(NummerPlacering) &amp; ".xls")&lt;&gt; "" Then<br>&nbsp;&nbsp;&nbsp; Range(NummerPlacering) = Range(NummerPlacering) + 1<br>&nbsp;&nbsp;&nbsp; GoTo Naeste<br>Else<br>&nbsp;&nbsp;&nbsp; ThisWorkbook.SaveAs (FakturaArkiv &amp;Application.PathSeparator &amp; "Faktura " &amp;Range(NummerPlacering) &amp; ".xls")<br>&nbsp;&nbsp;&nbsp; MsgBox "Fakturanr. " &amp; Range(NummerPlacering)&amp; " er nu gemt i mappen:" &amp; vbNewLine &amp; FakturaArkiv<br>End If</span><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,sans-serif;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;  color:black;mso-fareast-:DA"><o:p></o:p></span></p><p ="Ms&#111;normal" style="margin-bottom:0cm;line-height:normal;:#FBFBFD"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,sans-serif;mso-fareast-font-family:  &quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;color:#0000CC;  mso-fareast-:DA">End Sub</span><span style="font-size:9.0pt;font-family:  &quot;Verdana&quot;,sans-serif;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:  &quot;Times New Roman&quot;;color:black;mso-fareast-:DA"><o:p></o:p></span></p><br></div><div>Og det jeg mangler er at den også generer et forløbende ordre nr.</div>]]>
   </description>
   <pubDate>Tue, 22 Sep 2020 10:29:15 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/2-fortlbende-numre_topic4370_post21629.html#21629</guid>
  </item> 
  <item>
   <title><![CDATA[2 fortløbende numre : Nok ikke uden koden du allerede...]]></title>
   <link>https://forum.excel-regneark.dk/2-fortlbende-numre_topic4370_post21628.html#21628</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=1477">thomasbk</a><br /><strong>Emne:</strong> 4370<br /><strong>Sendt:</strong> 21.Sep.2020 kl. 13:28<br /><br />Nok ikke uden koden du allerede har.]]>
   </description>
   <pubDate>Mon, 21 Sep 2020 13:28:26 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/2-fortlbende-numre_topic4370_post21628.html#21628</guid>
  </item> 
  <item>
   <title><![CDATA[2 fortløbende numre : Hej forum,Jeg sidder og skal lave...]]></title>
   <link>https://forum.excel-regneark.dk/2-fortlbende-numre_topic4370_post21627.html#21627</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=2727">Trips</a><br /><strong>Emne:</strong> 4370<br /><strong>Sendt:</strong> 21.Sep.2020 kl. 12:22<br /><br />Hej forum,<div><br></div><div>Jeg sidder og skal lave nogle følgesedler og har benyttet en kode fra dette forum til at generere et fortløbende følgeseddelsnummer (Har brugt den der laver fakturanummer, vist nok lavet af Allan) og det fungerer perfekt.</div><div><br></div><div>Nu kunne jeg så godt tænke mig at få den til også at generere et nyt ordrenummer i samme omgang, men det kan jeg ikke få til at virke.</div><div><br></div><div>Er der nogen der kan hjælpe, så den både generere det næste følgeseddelsnummer &amp; ordrenummer?</div><div><br></div><div>/Anne</div>]]>
   </description>
   <pubDate>Mon, 21 Sep 2020 12:22:10 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/2-fortlbende-numre_topic4370_post21627.html#21627</guid>
  </item> 
 </channel>
</rss>