<?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 : TextBox - Komma/Punktum problem</title>
  <link>https://forum.excel-regneark.dk/</link>
  <description><![CDATA[Dette er et XML Feed af; Dansk Regneark Forum : Makro og VBA : TextBox - Komma/Punktum problem]]></description>
  <pubDate>Sat, 05 Dec 2026 18:01:54 +0000</pubDate>
  <lastBuildDate>Sun, 26 Apr 2015 17:04:24 +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=2088</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[TextBox - Komma/Punktum problem : Hej Forum.Jeg l&#248;ste den selv,...]]></title>
   <link>https://forum.excel-regneark.dk/textbox-komma-punktum-problem_topic2088_post9732.html#9732</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=1125">Ib Hansen</a><br /><strong>Emne:</strong> 2088<br /><strong>Sendt:</strong> 26.Apr.2015 kl. 17:04<br /><br />Hej Forum.<br><br>Jeg løste den selv, efter at have lagt hovedet lidt i blød.<br><a href="uploads/1125/1_TextBox_-_Komma_-_Punktum_-_Sum.xlsm" target="_blank" rel="nofollow">uploads/1125/1_TextBox_-_Komma_-_Punktum_-_Sum.xlsm</a><br><br><br><p style=":da;margin-top:0pt;margin-bottom:0pt;margin-left:0in;  text-indent:0in"><b><span style="font-size: 11pt; font-family: Calibri;">Først</span><span style="font-size: 11pt; font-family: Calibri; vertical-align: line;"> lavede jeg en general Function medReplace.</span></b></p><p style="text-indent: 0in; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in;"><span style="font-size: 11pt; font-family: Calibri; vertical-align: line;"><table width="99%"><tr><td><pre class="BBcode"></span><span style="text-indent: 0in; font-size: 15px; line-height: 20.533334732055664px;"><font face="Calibri">Function Korriger_Format(MyString As String)</font></span></p><p style="text-indent: 0in; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in;"><font face="Calibri"><span style="font-size: 15px; line-height: 20.533334732055664px;">&nbsp; &nbsp; MyNorm = Replace(MyString, ",", ".", 1, Len(MyString), vbTextCompare)</span></font></p><p style="text-indent: 0in; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in;"><font face="Calibri"><span style="font-size: 15px; line-height: 20.533334732055664px;">&nbsp; &nbsp; Korriger_Format = MyNorm</span></font></p><p style=":da;margin-top:0pt;margin-bottom:0pt;margin-left:0in;  text-indent:0in"><span style="font-size: 11pt; font-family: Calibri; vertical-align: line;"></span></p><p style="text-indent: 0in; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in;"><font face="Calibri"><span style="font-size: 15px; line-height: 20.533334732055664px;">End Function</pre></td></tr></table></span></font></p><div><b style="text-indent: 0in; line-height: 1.4;"><span style="text-indent: 0in; font-size: 11pt; font-family: Calibri;">Herefter henviste</span><span style="text-indent: 0in; font-size: 11pt; font-family: Calibri; vertical-align: line;"> jegTextboxen til denne Function.</span></b></div><p style=":da;margin-top:0pt;margin-bottom:0pt;margin-left:0in;  text-indent:0in"><span style="font-size: 11pt; font-family: Calibri; vertical-align: line;"><table width="99%"><tr><td><pre class="BBcode"></span><span style="text-indent: 0in; font-size: 15px; line-height: 20.533334732055664px;"><font face="Calibri">Private Sub TextBox1_Change()</font></span></p><p style=":da;margin-top:0pt;margin-bottom:0pt;margin-left:0in;  text-indent:0in"><span style="font-family: Calibri; font-size: 15px; line-height: 20.533334732055664px; text-indent: 0in;">&nbsp; &nbsp; Sheets(1).Range("A2") = Korriger_Format(TextBox1.Text)</span></p><p style=":da;margin-top:0pt;margin-bottom:0pt;margin-left:0in;  text-indent:0in"><span style="text-indent: 0in; font-size: 15px; line-height: 20.533334732055664px;"><font face="Calibri">End Sub</font></span><span style="text-indent: 0in; font-size: 15px; line-height: 20.533334732055664px; font-family: Calibri;"></pre></td></tr></table></span></p><p style=":da;margin-top:0pt;margin-bottom:0pt;margin-left:0in;  text-indent:0in"><span style="text-indent: 0in; font-size: 11pt; font-family: Calibri;">På denne måde kan jeg</span><span style="text-indent: 0in; font-size: 11pt; font-family: Calibri;">henvise andre TextBoxe i samme UserForm, til at konvertere komma til punktum.</span></p><p style=":da;margin-top:0pt;margin-bottom:0pt;margin-left:0in;  text-indent:0in"><span style="text-indent: 0in; font-size: 11pt; font-family: Calibri; vertical-align: line;"><br></span></p><p style=":da;margin-top:0pt;margin-bottom:0pt;margin-left:0in;  text-indent:0in"><span style="text-indent: 0in; font-size: 11pt; font-family: Calibri; vertical-align: line;">Mvh.</span></p><p style=":da;margin-top:0pt;margin-bottom:0pt;margin-left:0in;  text-indent:0in"><span style="text-indent: 0in; font-size: 11pt; font-family: Calibri; vertical-align: line;">Ib</span></p><br>]]>
   </description>
   <pubDate>Sun, 26 Apr 2015 17:04:24 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/textbox-komma-punktum-problem_topic2088_post9732.html#9732</guid>
  </item> 
  <item>
   <title><![CDATA[TextBox - Komma/Punktum problem : Hej Forum.Jeg har et komma / punktum...]]></title>
   <link>https://forum.excel-regneark.dk/textbox-komma-punktum-problem_topic2088_post9730.html#9730</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=1125">Ib Hansen</a><br /><strong>Emne:</strong> 2088<br /><strong>Sendt:</strong> 25.Apr.2015 kl. 19:25<br /><br />Hej Forum.<div><br></div><div>Jeg har et komma / punktum problem, jeg desværre har oplevet flere gange før, når en værdi til en celle tastes vha. en UserForm/TextBox.<br><p style=":da;margin-top:0pt;margin-bottom:0pt;margin-left:0in;  text-indent:0in"><span style="font-size: 11pt; font-family: Calibri; font-style: italic; vertical-align: line;">(Sikkertnoget med at den engelske tusind-separator, som er komma, konflikter med dendanske øre-separator i VBA)&nbsp;<img src="https://forum.excel-regneark.dk/smileys/smiley7.gif" border="0" alt="Angry" title="Angry" /></span></p><br>Jeg har vedhæftet et Excel eksempel, hvor problemet er beskrevet.<br>Her kan det også testes.<br><a href="uploads/1125/TextBox_-_Komma_-_Punktum_-_Sum.xlsm" target="_blank" rel="nofollow">uploads/1125/TextBox_-_Komma_-_Punktum_-_Sum.xlsm</a><br><br>Hvis den kode jeg prøver at bruge, er helt forkert, vil jeg blive umådelig glad, hvis jeg kunne få hjælp til en brugbar kode.<br><br>På forhånd tak.<br><br>Mvh.<br>Ib</div>]]>
   </description>
   <pubDate>Sat, 25 Apr 2015 19:25:46 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/textbox-komma-punktum-problem_topic2088_post9730.html#9730</guid>
  </item> 
 </channel>
</rss>