<?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 : Rod i udregningen</title>
  <link>https://forum.excel-regneark.dk/</link>
  <description><![CDATA[Dette er et XML Feed af; Dansk Regneark Forum : Makro og VBA : Rod i udregningen]]></description>
  <pubDate>Sat, 05 Dec 2026 07:39:34 +0000</pubDate>
  <lastBuildDate>Thu, 28 Jun 2018 21:08:51 +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=3532</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[Rod i udregningen : Hej AlleJeg har et lille problem,...]]></title>
   <link>https://forum.excel-regneark.dk/rod-i-udregningen_topic3532_post17520.html#17520</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=527">Matlock</a><br /><strong>Emne:</strong> 3532<br /><strong>Sendt:</strong> 28.Jun.2018 kl. 21:08<br /><br />Hej Alle<div>Jeg har et lille problem, jeg ikke kan finde ud af.</div><div><br></div><div>Jeg har en Userform, jeg anvender til at lave aftaleseddel til byggeprojekter.</div><div>I userformen, kan jeg indtaste materiale forbrug og løn omkostninger (uden sociale omkostninger) derefter regner userformen selv tallet om til løn omkostninger med sociale omkostninger. Når jeg har udfyldt totalsum for aftaleseddelen, bliver der udregnet en dækningsgrad for det pågældende stykke ekstra arbejde.</div><div>Her kommer mit problem.</div><div><br></div><div>Hvis tallet i Løn omk. inkl soc. omk. er et komma tal, udregner den et ellerr andet minus tal.</div><div><br></div><div>Her er et udklip af userformen</div><div><img src="uploads/527/Udklip_2018-06-28_21-07-27.PNG" height="165" width="357" border="0" /><br></div><div><br></div><div>Her er lidt af koden</div><div><br></div><div><div><font color="#ff0000">Sub HentDG()</font></div><div><font color="#ff0000"><br></font></div><div><font color="#ff0000">&nbsp; &nbsp; On Error Resume Next</font></div><div><font color="#ff0000">&nbsp; &nbsp; Me.txtDG = ((1 - (((IIf(Me.txtMatomk = "", 0, Me.txtMatomk) + 0) + (IIf(Me.txtLønomk2 = "", 0, Me.txtLønomk2) + 0)) / (IIf(Me.txtPristotal = "", 0, Me.txtPristotal) + 0))) * 100)</font></div><div><font color="#ff0000">&nbsp; &nbsp;&nbsp;</font></div><div><font color="#ff0000">End Sub</font></div><div><font color="#ff0000">Private Sub txtLønomk_change()</font></div><div><font color="#ff0000"><br></font></div><div><font color="#ff0000">&nbsp; &nbsp; Call HentLønSoc</font></div><div><font color="#ff0000">&nbsp; &nbsp;&nbsp;</font></div><div><font color="#ff0000">End Sub</font></div><div><font color="#ff0000"><br></font></div><div><font color="#ff0000">Sub HentLønSoc()</font></div><div><font color="#ff0000"><br></font></div><div><font color="#ff0000">&nbsp; &nbsp; On Error Resume Next</font></div><div><font color="#ff0000">&nbsp; &nbsp; Me.txtLønomk2 = (IIf(Me.txtLønomk = "", 0, Me.txtLønomk) + 0) * (((IIf(Me.txtSoc = "", 0, Me.txtSoc) / 100) + 1) + 0)</font></div><div><font color="#ff0000">&nbsp; &nbsp;&nbsp;</font></div><div><font color="#ff0000">End Sub</font></div><div><font color="#ff0000">Sub HentSumTotal()</font></div><div><font color="#ff0000">&nbsp; &nbsp;&nbsp;</font></div><div><font color="#ff0000">&nbsp; &nbsp; On Error Resume Next</font></div><div><font color="#ff0000">&nbsp; &nbsp; Me.txtPristotal = (IIf(Me.txtPris1 = "", 0, Me.txtPris1) + 0) + (IIf(Me.txtPris2 = "", 0, Me.txtPris2) + 0) + (IIf(Me.txtPris3 = "", 0, Me.txtPris3) + 0) + (IIf(Me.txtPris4 = "", 0, Me.txtPris4) + 0) + (IIf(Me.txtPris5 = "", 0, Me.txtPris5) + 0)</font></div><div><font color="#ff0000">End Sub</font></div></div><div>Håber i kan hjælpe</div>]]>
   </description>
   <pubDate>Thu, 28 Jun 2018 21:08:51 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/rod-i-udregningen_topic3532_post17520.html#17520</guid>
  </item> 
 </channel>
</rss>